{"id":"CVE-2026-96757","aliases":["CVE-2026-96757"],"related":[],"kind":"vulnerability","state":"published","title":"orval before 8.29.0 Code Injection via unescaped OpenAPI media-type","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-23T16:23:55.164Z","modified":"2026-09-23T18:17:12.200Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.3,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"6.7.1","fixed":"8.29.0","status":"affected"},{"type":"semver","version":"8.29.0","status":"unaffected"}],"vendor":"orval-labs","product":"orval","source":"cvelist"}],"references":[{"url":"https://github.com/orval-labs/orval/security/advisories/GHSA-4q3x-rqfw-3x8p","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/orval-labs/orval/security/advisories/GHSA-rcpr-mq4m-jx9j","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/orval-labs/orval/pull/4007","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/orval-labs/orval/commit/43af282d62dca0ef3140023741fb768f6a718adb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/orval-labs/orval/commit/a2d4af59f3b167dc8a7a65d15f51cdb89ebe2fe5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/orval-labs/orval/blob/v8.28.1/packages/fetch/src/index.ts#L584","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/orval-labs/orval","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/orval-before-8.29.0-code-injection-via-unescaped-openapi-media-type","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Enrik Mustafa"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2026-09-23T17:47:51.520Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-96757","url":"https://www.cve.org/CVERecord?id=CVE-2026-96757","licence":"CVE Terms of Use","modified":"2026-09-23T17:48:29.041Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-96757","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96757","licence":"Public domain","modified":"2026-09-23T18:17:12.200Z"}],"updatedAt":"2026-11-25T22:59:40.649Z","epss":{"score":0.00566,"percentile":0.48342,"date":"2026-12-01T12:00:22.000Z"}}