{"id":"GHSA-5c7w-4wm3-85vw","aliases":["GHSA-5c7w-4wm3-85vw"],"related":[],"kind":"vulnerability","state":"published","title":"@asymmetric-effort/specifyjs: GraphQL gql tag allows metacharacter injection","summary":"## 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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"## 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.","format":"markdown","source":"ghsa"}],"published":"2026-07-02T19:00:12.000Z","modified":"2026-09-10T03:51:10.446Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"}],"cwes":["CWE-943"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.2.136"}],"ecosystem":"npm","package":"@asymmetric-effort/specifyjs","purl":"pkg:npm/%40asymmetric-effort/specifyjs","source":"ghsa"}],"references":[{"url":"https://github.com/asymmetric-effort/specifyjs/security/advisories/GHSA-5c7w-4wm3-85vw","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/asymmetric-effort/specifyjs/commit/25d1fb491d99479efdf501f5f75e0bb80c908f0a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/asymmetric-effort/specifyjs","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5c7w-4wm3-85vw","url":"https://github.com/advisories/GHSA-5c7w-4wm3-85vw","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:10.446Z"}],"updatedAt":"2026-11-25T22:56:44.162Z"}