CVE-2026-96757

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.
Configurations

No configuration.

History

23 Sep 2026, 18:17

Type Values Removed Values Added
References () https://github.com/orval-labs/orval/security/advisories/GHSA-4q3x-rqfw-3x8p - () https://github.com/orval-labs/orval/security/advisories/GHSA-4q3x-rqfw-3x8p -

23 Sep 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-09-23 17:17

Updated : 2026-09-23 18:17


NVD link : CVE-2026-96757

Mitre link : CVE-2026-96757

CVE.ORG link : CVE-2026-96757


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')