GHSA-5c7w-4wm3-85vw
medium
@asymmetric-effort/specifyjs: GraphQL gql tag allows metacharacter injection
- Severity
- medium CVSS:4.0 by GitHub
- Published
- Last changed
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| @asymmetric-effort/specifyjs (npm) | before 0.2.136 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-5c7w-4wm3-85vw changed 2026-09-10 | CC-BY-4.0 |