# CVE-2026-63397: remorses/genql code injection

- Severity: High 7.1 (CVSS:4.0, scored by cisa-cg) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-07-16T19:14:30.532Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-w757-xvvv-vgfw
- Weaknesses: CWE-116
- SSVC (cisa-cg): exploitation none, automatable no, technical impact total
- Assigned by: cisa-cg

## Description

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.

(As written by CVE List.)

## Affected

- remorses genql: before 6.3.4 (not affected: 6.3.4)
- @genql/cli (npm): before 6.3.4

## Every score

- cisa-cg: CVSS:4.0 7.1 High `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`
- cisa-cg: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 6.4 High `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/remorses/genql/releases/tag/%40genql%2Fcli%406.3.4> (patch, web)
- <https://www.cve.org/CVERecord?id=CVE-2026-63397> (vdb-entry, web)
- <https://github.com/remorses/genql> (package, product)
- <https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-197-01.json> (third-party-advisory, 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)

## Sources

- CVE List: [CVE-2026-63397](https://www.cve.org/CVERecord?id=CVE-2026-63397), CVE Terms of Use, modified 2026-07-21
- GitHub Advisory Database: [GHSA-w757-xvvv-vgfw](https://github.com/advisories/GHSA-w757-xvvv-vgfw), CC-BY-4.0, modified 2026-08-13
- NVD: [CVE-2026-63397](https://nvd.nist.gov/vuln/detail/CVE-2026-63397), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-63397 · Whole record: https://cve.day/CVE-2026-63397.json · Rebuilt by cve.day 2026-11-25T22:59:28.433Z
