Critical severity · published Sep 23, 2026
CVE-2026-96757
orval before 8.29.0 Code Injection via unescaped OpenAPI media-type
9.8
CVSS
0.8%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 57% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OR
orval · orval-labs
6.7.1 before 8.29.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-96757
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-96757
github.com
https://github.com/orval-labs/orval
github.com
https://github.com/orval-labs/orval/blob/v8.28.1/packages/fetch/src/index.ts#L584
github.com
https://github.com/orval-labs/orval/commit/43af282d62dca0ef3140023741fb768f6a718adb
github.com
https://github.com/orval-labs/orval/commit/a2d4af59f3b167dc8a7a65d15f51cdb89ebe2fe5
github.com
https://github.com/orval-labs/orval/pull/4007
github.com
https://github.com/orval-labs/orval/security/advisories/GHSA-4q3x-rqfw-3x8p
More from orval
9.8
CVE-2026-96759
orval before 8.29.0 Code Injection via operationId
9.8
CVE-2026-96758
orval @orval/core before 8.28.0 Code Injection via Form-Data
9.8
CVE-2026-96755
orval @orval/effect 8.14.0 through 8.28.1 Code Injection
9.8
CVE-2026-96754
orval @orval/hono before 8.29.0 Code Injection via OpenAPI Path
9.8
CVE-2026-25141
Orval has a code injection via unsanitized x-enum-descriptions uing JS comments
