{"id":"CVE-2026-63397","published":"2026-07-16T19:14:30Z","modified":"2026-07-21T17:08:22Z","title":"remorses/genql code injection","vendor":"remorses","product":"genql","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00477,"percentile":0.33559,"provenance":"source"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/remorses/genql/releases/tag/%40genql%2Fcli%406.3.4","tags":["patch"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-63397","tags":["vdb-entry"]},{"url":"https://github.com/remorses/genql","tags":["product"]},{"url":"https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-197-01.json","tags":["third-party-advisory"]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":6.71},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"remorses","affectedVersions":[{"vendor":"remorses","product":"genql","versions":["< 6.3.4"]}],"fixedVersions":[{"vendor":"remorses","product":"genql","versions":["6.3.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-21T17:08:07.757480Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@genql/cli","vulnerableRanges":["<6.3.4"],"patched":["6.3.4"],"from":["GHSA-w757-xvvv-vgfw"],"provenance":"source"}],"summary":{"text":"The flaw is a code injection issue in the genql component of the remorses genql product, affecting versions before 6.3.4, where input from a GraphQL schema is not properly escaped when written into the generated schema.ts file. An attacker who is authenticated and controls the GraphQL schema passed to genql, and who can get the generated code bundled and imported (which requires user interaction), can inject arbitrary JavaScript or TypeScript that executes when the genql client is run.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:12Z"},"euvd":{"id":"EUVD-2026-45031","exploited":false,"provenance":"source"}}