CVE-2026-96757

CRITICAL CVSS 4.0: 9.3 EPSS 0.57%
Updated Sep 23, 2026
orval
Parameter Value
CVSS 9.3 (CRITICAL)
Affected Versions before 8.29.0
Type CWE-94 (Code Injection)
Vendor orval
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)