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.
Severity (CVSS)
| Base score | 7.1 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-116 — CWE-116 Improper Encoding or Escaping of Output
Affected products
| Vendor | Product | Versions |
|---|---|---|
| remorses | genql | 0 to <6.3.4; 6.3.4 |
References
Generated from the official CVE List on 17 Jul 2026 07:01 UTC.