Skip to main content
VulnerabilityPublished

@asymmetric-effort/specifyjs: GraphQL gql tag allows metacharacter injection

Affects @asymmetric-effort/specifyjsSource GCVE Database

0

CVSS 6.9 Medium : upgrade to 0.2.136 when convenient.

Data as of 3 Jul 2026, 22:49 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.2.136
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

What to do

Upgrade @asymmetric-effort/specifyjs to 0.2.136.

Affected software

ProductAffectedFixed in
npm@asymmetric-effort/specifyjsAffected
  • <0.2.136
Fixed in
  • 0.2.136

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in version 0.2.136 of @asymmetric-effort/specifyjs. Users should upgrade to version 0.2.136 or later. The gql function now enforces safe usage by throwing errors on metacharacter interpolation, requiring developers to use the variables parameter for dynamic values.

Description

## 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.

References

Community reviews

Loading reviews…