NetSight
critical9.8

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.

Impact

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 products

ProductAffected versions
Orval
before 8.29.0

Versions were read from the advisory text. No structured product data has been published for this record yet.

Weakness classification

References