CVE-2026-63397
HIGH 7.1CVSS 4.0Genql: 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
- 16 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- 9119a7d8-5eab-497f-8521-727c672e3725
- NVD status
- Awaiting Analysis
- Weakness
- CWE-116
- Also known as
- GHSA-w757-xvvv-vgfw
- Sources
- NVDJSONOSV GHSA-w757-xvvv-vgfwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 9119a7d8-5eab-497f-8521-727c672e3725 (Secondary) | CVSS 4.0 | HIGH 7.1 | CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | 9119a7d8-5eab-497f-8521-727c672e3725 (Secondary) | CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @genql/cli | < 6.3.4 | 6.3.4 |
References
- https://github.com/remorses/genql · PACKAGE
- https://github.com/remorses/genql/releases/tag/%40genql%2Fcli%406.3.4 · WEB
- https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-197-01.json · WEB
- https://www.cve.org/CVERecord?id=CVE-2026-63397 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-63397 · ADVISORY
- https://github.com/remorses/genql/issues/197 · WEB
- https://github.com/remorses/genql/commit/2dbc80ffb767ee58e6b27d9d81d58fa1ee8bea28 · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 16 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Jul 2026)