Back
CVE-2026-96757
orval before 8.29.0 Code Injection via unescaped OpenAPI media-type
Critical9.3EPSS 0.82%
- Published
- Updated
- Reserved
- Assigned by
- VulnCheck
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| VulnCheckCNA (assigner) | 4.0 | Critical9.3 | 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 |
| VulnCheckCNA (assigner) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 4.0 | Critical9.3 | 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 |
- EPSS (exploitation in 30 days)
- 0.82% · top 43% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.3.
Weakness
Affected products
- affected 6.7.1 – < 8.29.0
- unaffected 8.29.0
References (8)
- GitHub Security Advisory (GHSA-4q3x-rqfw-3x8p) (opens in a new tab)vendor-advisoryexploit
- GitHub Security Advisory (GHSA-rcpr-mq4m-jx9j) (opens in a new tab)vendor-advisory
- https://github.com/orval-labs/orval/pull/4007 (opens in a new tab)patchissue-tracking
- https://github.com/orval-labs/orval/commit/43af282d62dca0ef3140023741fb768f6a718adb (opens in a new tab)patch
- https://github.com/orval-labs/orval/commit/a2d4af59f3b167dc8a7a65d15f51cdb89ebe2fe5 (opens in a new tab)patch
- https://github.com/orval-labs/orval/blob/v8.28.1/packages/fetch/src/index.ts#L584 (opens in a new tab)technical-description
- https://github.com/orval-labs/orval (opens in a new tab)product
- VulnCheck Advisory: orval before 8.29.0 Code Injection via unescaped OpenAPI media-type (opens in a new tab)third-party-advisory
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-96757)Record last updated .