CVE-2026-96757
Published:September 23, 2026
Updated:October 13, 2026
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.
Affected Packages
https://github.com/orval-labs/orval.git (GITHUB):
Affected version(s) >=v6.7.1 <v8.29.0Fix Suggestion:
Update to version v8.29.0@orval/core (NPM):
Affected version(s) >=6.11.0-alpha.1 <8.29.0Fix Suggestion:
Update to version 8.29.0@orval/solid-start (NPM):
Affected version(s) >=8.0.1 <8.29.0Fix Suggestion:
Update to version 8.29.0orval (NPM):
Affected version(s) >=6.7.1 <8.29.0Fix Suggestion:
Update to version 8.29.0@orval/mock (NPM):
Affected version(s) >=8.4.0 <8.29.0Fix Suggestion:
Update to version 8.29.0@orval/fetch (NPM):
Affected version(s) >=7.0.0 <8.29.0Fix Suggestion:
Update to version 8.29.0Related Resources (10)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.57