CVE-2026-96757 json
orval before 8.29.0 Code Injection via unescaped OpenAPI media-type
published 2026-09-23 46 d ago modified 2026-09-23 46 d ago also EUVD-2026-85407
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
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.
Patch / fix
- orval-labs orval 8.29.0
- github.com/orval-labs/orval@43af282 commit
- github.com/orval-labs/orval@a2d4af5 commit
- github.com/orval-labs/orval#4007 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 46 d ago
Exploit prediction
0.82% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/orval-labs/orval/security/advisories/GHSA-4q3x-rqfw-3x8p referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.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 |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 4.0 | 9.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 |
Affected products
- orval-labs orval
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/orval-labs/orval/pull/4007
patch, issue-tracking
-
github.com
/orval-labs/orval/commit/43af282d62dca0ef3140023741fb768f6a718adb
patch
-
github.com
/orval-labs/orval/commit/a2d4af59f3b167dc8a7a65d15f51cdb89ebe2fe5
patch
-
github.com
/orval-labs/orval/security/advisories/GHSA-4q3x-rqfw-3x8p
vendor-advisory, exploit
-
github.com
/orval-labs/orval/security/advisories/GHSA-rcpr-mq4m-jx9j
vendor-advisory
-
github.com
/orval-labs/orval/blob/v8.28.1/packages/fetch/src/index.ts#L584
technical-description
-
github.com
/orval-labs/orval
product
-
vulncheck.com
/advisories/orval-before-8.29.0-code-injection-via-unescaped-openapi-media-type
third-party-advisory
Sources
- CVE List CVE-2026-96757
- NVD CVE-2026-96757
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.