CVE-2026-96757

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductOrval
PublishedSep 23, 2026
First seenSep 23, 2026

How to fix

Affected products

ProductAffected versionsFixed in
orval-labs orval6.7.1 ≤ v < 8.29.08.29.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.