Skip to main content
← All vulnerabilities
CVE-2026-96757

orval before 8.29.0 Code Injection via unescaped OpenAPI media-type

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.29.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • orval-labs orval

    From 6.7.1 · fixed in 8.29.0

References 8

GitHub · orval-labs/orval

vulncheck.com