CVE-2026-96757CWE-94code-injection

CVE-2026-96757

Critical · published September 23, 2026

CVSS v3.1
9.8
EPSS
1%
Percentile
46.3
In the wild
Unconfirmed
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
  • 25 SEP 03:28Z
    EPSS moved — → 1%
    epss
  • 23 SEP 16:23Z
    orval before 8.29.0 Code Injection via unescaped OpenAPI media-type
    cvelistv5