@asymmetric-effort/specifyjs: GraphQL gql tag allows metacharacter injection
Affects @asymmetric-effort/specifyjsSource GCVE Database
CVSS 6.9 Medium : upgrade to 0.2.136 when convenient.
Data as of 3 Jul 2026, 22:49 UTC
- 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:NWhat to do
Upgrade @asymmetric-effort/specifyjs to 0.2.136.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@asymmetric-effort/specifyjs | Affected
| Fixed in
|
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.