---
id: GHSA-5c7w-4wm3-85vw
title: '@asymmetric-effort/specifyjs: GraphQL gql tag allows metacharacter injection'
summary: '@asymmetric-effort/specifyjs: GraphQL gql tag allows metacharacter injection'
severity: medium
cwe:
  - CWE-943
vendor: asymmetric-effort
product: '@asymmetric-effort/specifyjs'
ecosystem: npm
affected:
  - '@asymmetric-effort/specifyjs < 0.2.136'
patched:
  - '@asymmetric-effort/specifyjs 0.2.136'
published: '2026-07-02'
updated: '2026-07-02'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-5c7w-4wm3-85vw'
references:
  - url: >-
      https://github.com/asymmetric-effort/specifyjs/security/advisories/GHSA-5c7w-4wm3-85vw
  - url: >-
      https://github.com/asymmetric-effort/specifyjs/commit/25d1fb491d99479efdf501f5f75e0bb80c908f0a
  - url: 'https://github.com/advisories/GHSA-5c7w-4wm3-85vw'
tags:
  - ghsa
  - npm
ingestedAt: '2026-07-02T19:41:50.962Z'
---

## Overview

## Finding

**Location**: `core/src/client/graphql.ts:66-80`

The `gql` template tag function warned about interpolated values containing GraphQL metacharacters (`{}():`) but still concatenated them into the query string, enabling potential GraphQL injection.

## Status

**Fixed in v0.2.136** — The `gql` function now throws an error when metacharacters are detected in interpolated values, forcing developers to use the `variables` parameter.

## Affected packages

- `@asymmetric-effort/specifyjs < 0.2.136`

## Remediation

Upgrade to a patched release:

- `@asymmetric-effort/specifyjs 0.2.136`
