{"id":"CVE-2026-63397","revision":null,"records":[{"revision":"a87f5bcf32ed4e76a7c60564ef207eca","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-63397","aliases":[],"title":"remorses/genql code injection","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.","state":0,"publishedAt":"2026-07-16T19:14:30.532+00:00","modifiedAt":"2026-07-21T17:08:22.419+00:00","affected":[{"ecosystem":"Vendor product","name":"genql","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"remorses\",\n                    \"product\": \"genql\",\n                    \"defaultStatus\": \"affected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"lessThan\": \"6.3.4\",\n                            \"versionType\": \"custom\"\n                        },\n                        {\n                            \"version\": \"6.3.4\",\n                            \"status\": \"unaffected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"HIGH"},{"system":"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,"severity":"MEDIUM"}],"references":["https://github.com/remorses/genql/releases/tag/%40genql%2Fcli%406.3.4","https://www.cve.org/CVERecord?id=CVE-2026-63397","https://github.com/remorses/genql","https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-197-01.json"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-63397","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-63397","identifiers":["CVE-2026-63397"]},"retained":false,"historicalAffected":[]},{"revision":"032e94e052454d959acf1ad387345764","observedAt":"2026-10-25T15:18:45.851+00:00","statement":{"source":"nvd","id":"CVE-2026-63397","aliases":[],"title":"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 a…","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.","state":0,"publishedAt":"2026-07-16T20:16:47.95+00:00","modifiedAt":"2026-10-24T20:10:00.137+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · 9119a7d8-5eab-497f-8521-727c672e3725 · Secondary","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/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","score":7.1,"severity":"HIGH"},{"system":"CVSS 3.1 · 9119a7d8-5eab-497f-8521-727c672e3725 · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","score":6.4,"severity":"MEDIUM"}],"references":["https://github.com/remorses/genql","https://github.com/remorses/genql/releases/tag/%40genql%2Fcli%406.3.4","https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-197-01.json","https://www.cve.org/CVERecord?id=CVE-2026-63397"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-63397","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Awaiting Analysis","weaknesses":["CWE-116"],"productCriteria":[],"sourceDates":{"published":"2026-07-16T20:16:47.950","lastModified":"2026-10-24T20:10:00.137"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-63397","identifiers":["CVE-2026-63397"]},"retained":false,"historicalAffected":[]},{"revision":"df5fb51963d8468da524d14edab54838","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-w757-xvvv-vgfw","aliases":["CVE-2026-63397"],"title":"Genql: inject arbitrary JavaScript or TypeScript via a GraphQL schema","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.","state":0,"publishedAt":"2026-07-16T21:30:38+00:00","modifiedAt":"2026-08-13T18:51:16.259274+00:00","affected":[{"ecosystem":"npm","name":"@genql/cli","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"6.3.4"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"CVSS_V4","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":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2026-63397","https://github.com/remorses/genql/issues/197","https://github.com/remorses/genql/commit/2dbc80ffb767ee58e6b27d9d81d58fa1ee8bea28","https://github.com/remorses/genql","https://github.com/remorses/genql/releases/tag/%40genql%2Fcli%406.3.4","https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-197-01.json","https://www.cve.org/CVERecord?id=CVE-2026-63397"],"sourceUrl":"https://github.com/advisories/GHSA-w757-xvvv-vgfw","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-w757-xvvv-vgfw","identifiers":["GHSA-w757-xvvv-vgfw","CVE-2026-63397"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-10-27T10:09:34.0172509+00:00","complete":true,"records":1758,"lastAttemptAt":"2026-10-27T10:09:34.0172509+00:00","lastSuccessAt":"2026-10-27T10:09:34.2036502+00:00","error":null,"lastVerifiedAt":"2026-10-27T10:09:34.203653+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-187d2b72c94ceb8c4417f1032ec3109a3a3a7b730abadb561d8cdd2a96e04d27-58bd20eb1c173e279bc77b11e82554c8e98062750684c6e9d920fc51991f5484","complete":true,"records":414891,"lastAttemptAt":"2026-10-27T10:09:33.4404255+00:00","lastSuccessAt":"2026-10-27T10:09:33.4069739+00:00","error":null,"lastVerifiedAt":"2026-10-27T10:09:33.4404255+00:00","snapshotPublishedAt":"2026-10-27T09:30:40+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-43321610382942b8ad8c85917eab1546","complete":false,"records":4735,"lastAttemptAt":"2026-10-27T10:10:21.532529+00:00","lastSuccessAt":"2026-10-24T23:18:49.862+00:00","error":"InvalidDataException","lastVerifiedAt":"2026-10-24T23:18:49.862+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":0,"expectedIdentifiers":13477},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-10-27T10:09:34.0172509+00:00","complete":true,"records":1093,"lastAttemptAt":"2026-10-27T10:09:34.0172509+00:00","lastSuccessAt":"2026-10-27T10:09:34.2047822+00:00","error":null,"lastVerifiedAt":"2026-10-27T10:09:34.204783+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-1cf3dd00f71445ea951a915a8c2765a8","complete":true,"records":13416,"lastAttemptAt":"2026-10-27T10:10:19.5433878+00:00","lastSuccessAt":"2026-10-27T10:10:19.54+00:00","error":null,"lastVerifiedAt":"2026-10-27T10:10:19.54+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13477,"expectedIdentifiers":13477},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-c3121b113ecd88f1c92ccfa0ec9757ddc8386e4c12afd2597450b815744f800a","complete":true,"records":9779,"lastAttemptAt":"2026-10-27T10:09:33.9651012+00:00","lastSuccessAt":"2026-10-26T15:37:14.3083004+00:00","error":null,"lastVerifiedAt":"2026-10-27T10:09:33.9651012+00:00","snapshotPublishedAt":"2026-10-26T14:48:41+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-bad5d31e7f6a5e3d338e11d8789069b63620a403f927730769688b42f768e4f6","complete":true,"records":1965,"lastAttemptAt":"2026-10-27T10:09:33.594221+00:00","lastSuccessAt":"2026-10-26T16:35:43.1460623+00:00","error":null,"lastVerifiedAt":"2026-10-27T10:09:33.594221+00:00","snapshotPublishedAt":"2026-10-26T16:18:29+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-a393d8fe0ae8408f3e4cab413b76047090c8e4a3c0a186c79edf33c9a3d3af95","complete":true,"records":2995,"lastAttemptAt":"2026-10-27T10:09:33.9810013+00:00","lastSuccessAt":"2026-10-26T14:35:47.9640893+00:00","error":null,"lastVerifiedAt":"2026-10-27T10:09:33.9810013+00:00","snapshotPublishedAt":"2026-10-26T14:18:55+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-513066461af8d030bad8efab4fea81eabd246acd525512aa7469c95ccf02c320","complete":true,"records":230813,"lastAttemptAt":"2026-10-27T10:09:33.7755937+00:00","lastSuccessAt":"2026-10-27T09:02:44.9044939+00:00","error":null,"lastVerifiedAt":"2026-10-27T10:09:33.7755937+00:00","snapshotPublishedAt":"2026-10-27T08:48:32+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null}]}