CVE-2026-96757CWE-94code-injection
CVE-2026-96757
Critical · published September 23, 2026
What it is
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.
The record
Technical detail
- CVSS v3.1
- 9.8 · CRITICAL
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4.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
- EPSS
- 0.00566 · 46.3th percentile
- Weakness
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
- Published
- 2026-09-23T21:17Z
References (9)
EPSS history
Timeline