CVE-2026-63397: Genql: inject arbitrary JavaScript or TypeScript via a GraphQL schema
remorses/genql before version 6.3.4 allows an authenticated attacker with control of the GraphQL schema that is passed to genql to inject arbitrary JavaScript or TypeScript. The malicious code is injected into the generated schema.ts file and executes when the genql client is bundled and imported.
Published Jul 16, 2026 · Updated Aug 13, 2026
Affected packages
@genql/cli
- Ecosystem
- npm
- Affected
- < 6.3.4
- Fixed in
- 6.3.4
- Check
npm ls @genql/cli
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
remorses/genql before version 6.3.4 allows an authenticated attacker with control of the GraphQL schema that is passed to genql to inject arbitrary JavaScript or TypeScript. The malicious code is injected into the generated schema.ts file and executes when the genql client is bundled and imported.
Credited to 0x00-sys.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-63397
- https://github.com/remorses/genql
- https://github.com/remorses/genql/releases/tag/%40genql%2Fcli%406.3.4
- https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-197-01.json
- https://www.cve.org/CVERecord?id=CVE-2026-63397
- https://github.com/remorses/genql/issues/197
- https://github.com/remorses/genql/commit/2dbc80ffb767ee58e6b27d9d81d58fa1ee8bea28
- https://github.com/advisories/GHSA-w757-xvvv-vgfw
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
