← Database

CVE-2026-96757

CRITICAL CVSS: 9.8 Published: 2026-09-23 Modified: 2026-09-23

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.

Affected Platforms

Unknown

Weakness Type

CWE-94

References