CVE-2026-96757 orval before 8.29.0 Code Injection via unescaped OpenAPI media-type
CriticalCVSS 9.3
EPSS 0.82%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm orval | >= 6.7.1, < 8.29.0 | 8.29.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm orval | >= 6.7.1, < 8.29.0 | 8.29.0 |
References
- GitHub Security Advisory (GHSA-4q3x-rqfw-3x8p) exploit vendor-advisory
- GitHub Security Advisory (GHSA-rcpr-mq4m-jx9j) vendor-advisory
- github.com issue-tracking patch
- github.com patch
- github.com patch
- github.com technical-description
- github.com product
- VulnCheck Advisory: orval before 8.29.0 Code Injection via unescaped OpenAPI media-type third-party-advisory
- ENISA EUVD EUVD-2026-85407 third-party-advisory