{"id":"GHSA-5c7w-4wm3-85vw","revision":"eb4def5f553c40209cdcbbf3daf9e118","records":[{"revision":"eb4def5f553c40209cdcbbf3daf9e118","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-5c7w-4wm3-85vw","aliases":[],"title":"@asymmetric-effort/specifyjs: GraphQL gql tag allows metacharacter injection","description":"## Finding\n\n**Location**: `core/src/client/graphql.ts:66-80`\n\nThe `gql` template tag function warned about interpolated values containing GraphQL metacharacters (`{}():`) but still concatenated them into the query string, enabling potential GraphQL injection.\n\n## Status\n\n**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.","state":0,"publishedAt":"2026-07-02T19:00:12+00:00","modifiedAt":"2026-09-10T03:51:10.4468878+00:00","affected":[{"ecosystem":"npm","name":"@asymmetric-effort/specifyjs","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.2.136"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/asymmetric-effort/specifyjs/security/advisories/GHSA-5c7w-4wm3-85vw","https://github.com/asymmetric-effort/specifyjs/commit/25d1fb491d99479efdf501f5f75e0bb80c908f0a","https://github.com/asymmetric-effort/specifyjs"],"sourceUrl":"https://github.com/advisories/GHSA-5c7w-4wm3-85vw","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-5c7w-4wm3-85vw","identifiers":["GHSA-5c7w-4wm3-85vw"]},"retained":false,"historicalAffected":[]}],"coverage":[]}