{"id":"CVE-2026-96757","published":"2026-09-23T16:23:55Z","modified":"2026-09-23T17:48:29Z","title":"orval before 8.29.0 Code Injection via unescaped OpenAPI media-type","vendor":"orval-labs","product":"orval","tier":"tail","description":{"text":"orval before 8.29.0 fails to escape OpenAPI media-type keys when emitting them into single-quoted Content-Type string literals in generated code. Attackers can inject JavaScript through crafted media-type keys in OpenAPI specifications that executes when generated fetch operations or mock resolvers are invoked.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00816,"percentile":0.57991,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/orval-labs/orval/security/advisories/GHSA-4q3x-rqfw-3x8p","tags":["vendor-advisory"]},{"url":"https://github.com/orval-labs/orval/security/advisories/GHSA-rcpr-mq4m-jx9j","tags":["vendor-advisory"]},{"url":"https://github.com/orval-labs/orval/pull/4007","tags":["patch","issue-tracking"]},{"url":"https://github.com/orval-labs/orval/commit/43af282d62dca0ef3140023741fb768f6a718adb","tags":["patch"]},{"url":"https://github.com/orval-labs/orval/commit/a2d4af59f3b167dc8a7a65d15f51cdb89ebe2fe5","tags":["patch"]},{"url":"https://github.com/orval-labs/orval/blob/v8.28.1/packages/fetch/src/index.ts#L584","tags":["technical-description"]},{"url":"https://github.com/orval-labs/orval","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/orval-before-8.29.0-code-injection-via-unescaped-openapi-media-type","tags":["third-party-advisory"]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":11.6},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"orval-labs","affectedVersions":[{"vendor":"orval-labs","product":"orval","versions":[">= 6.7.1, < 8.29.0"]}],"fixedVersions":[{"vendor":"orval-labs","product":"orval","versions":["8.29.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-09-23T17:47:51.520475Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-85407","exploited":false,"provenance":"source"}}