{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-96757","id":"CVE-2026-96757","title":"orval before 8.29.0 Code Injection via unescaped OpenAPI media-type","description":"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.","descriptionLong":"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.","published":"2026-09-23T16:23:55.164Z","updated":"2026-10-28T02:30:33.630860929Z","reserved":"2026-09-23T15:58:30.841Z","status":"Deferred","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":9.3,"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","rating":"critical","source":"VulnCheck"},"metrics":[{"version":"4.0","score":9.3,"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","rating":"critical","source":"VulnCheck"},{"version":"4.0","score":9.3,"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/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","rating":"critical","source":"vulncheck.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"VulnCheck"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"vulncheck.com"}],"rating":"critical","products":["orval-labs orval"],"affectedProducts":[{"vendor":"orval-labs","product":"orval","defaultStatus":"unaffected","versions":[{"version":"6.7.1","status":"affected","versionType":"semver","lessThan":"8.29.0"},{"version":"8.29.0","status":"unaffected","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-94"],"aliases":[],"references":[{"url":"https://github.com/orval-labs/orval/security/advisories/GHSA-4q3x-rqfw-3x8p","tags":["vendor-advisory","exploit","advisory"]},{"url":"https://github.com/orval-labs/orval/security/advisories/GHSA-rcpr-mq4m-jx9j","tags":["vendor-advisory","advisory"]},{"url":"https://github.com/orval-labs/orval/pull/4007","tags":["patch","issue-tracking","fix"]},{"url":"https://github.com/orval-labs/orval/commit/43af282d62dca0ef3140023741fb768f6a718adb","tags":["patch","fix"]},{"url":"https://github.com/orval-labs/orval/commit/a2d4af59f3b167dc8a7a65d15f51cdb89ebe2fe5","tags":["patch","fix"]},{"url":"https://github.com/orval-labs/orval/blob/v8.28.1/packages/fetch/src/index.ts#L584","tags":["technical-description","article"]},{"url":"https://github.com/orval-labs/orval","tags":["product","package"]},{"url":"https://www.vulncheck.com/advisories/orval-before-8.29.0-code-injection-via-unescaped-openapi-media-type","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/96xxx/CVE-2026-96757.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96757","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.00816,"epssPercentile":0.57861,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-96757","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96757","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-96757","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-96757","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}