CVE-2026-96757
Critical
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.
SeverityCritical
CVSS9.8
Exploit probability—
ProductOrval
PublishedSep 23, 2026
First seenSep 23, 2026
Weakness typeCWE-94Code injection
How to fix
Update
- orval-labs orval8.29.0 or later
Patches
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| orval-labs orval | 6.7.1 ≤ v < 8.29.0 | 8.29.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.