GHSA-5c7w-4wm3-85vw @asymmetric-effort/specifyjs: GraphQL gql tag allows metacharacter injection
MediumCVSS 6.9
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| asymmetric-effort specifyjs(npm) | < 0.2.136 | 0.2.136 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| asymmetric-effort specifyjs(npm) | < 0.2.136 | 0.2.136 |
References
- github.com vendor-advisory
- github.com patch
- github.com
- github.com product