CVE-2026-96757Published Sep 23, 2026 · Sep 23Updated Oct 28
orval before 8.29.0 Code Injection via unescaped OpenAPI media-type
orval-labs orval
Critical9.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| orval-labs orval |
|
|
Original 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.
From the CVE record · VulnCheck