{"id":"CVE-2026-63397","aliases":["CVE-2026-63397","GHSA-w757-xvvv-vgfw"],"related":[],"kind":"vulnerability","state":"published","title":"remorses/genql code injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"remorses/genql antes de la versión 6.3.4 permite a un atacante autenticado con control del esquema GraphQL que se pasa a genql inyectar JavaScript o TypeScript arbitrario. El código malicioso se inyecta en el archivo schema.ts generado y se ejecuta cuando el cliente genql es empaquetado e importado.","source":"nvd"}],"published":"2026-07-16T19:14:30.532Z","modified":"2026-10-24T20:10:00.137Z","severity":{"scorer":"cisa-cg","scheme":"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","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"cisa-cg","scheme":"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","score":7.1,"rating":"HIGH"},{"scorer":"cisa-cg","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","score":6.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","score":6.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"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","rating":"HIGH"}],"cwes":["CWE-116"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"6.3.4","status":"affected"},{"version":"6.3.4","status":"unaffected"}],"vendor":"remorses","product":"genql","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.3.4"}],"ecosystem":"npm","package":"@genql/cli","purl":"pkg:npm/%40genql/cli","source":"ghsa"}],"references":[{"url":"https://github.com/remorses/genql/releases/tag/%40genql%2Fcli%406.3.4","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-63397","tags":["vdb-entry","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/remorses/genql","tags":["package","product"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-197-01.json","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63397","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/remorses/genql/issues/197","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/remorses/genql/commit/2dbc80ffb767ee58e6b27d9d81d58fa1ee8bea28","tags":["web"],"sources":["ghsa"]}],"credits":["Hamza Haroon"],"assigner":"cisa-cg","ssvc":{"scorer":"cisa-cg","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-07-14T17:29:12.507Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-63397","url":"https://www.cve.org/CVERecord?id=CVE-2026-63397","licence":"CVE Terms of Use","modified":"2026-07-21T17:08:22.419Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w757-xvvv-vgfw","url":"https://github.com/advisories/GHSA-w757-xvvv-vgfw","licence":"CC-BY-4.0","modified":"2026-08-13T18:51:16.259Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-63397","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63397","licence":"Public domain","modified":"2026-10-24T20:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:28.433Z","epss":{"score":0.00254,"percentile":0.18103,"date":"2026-12-01T12:00:22.000Z"}}