CVE-2026-96754 PUBLISHED

orval @orval/hono before 8.29.0 Code Injection via OpenAPI Path

Assigner: VulnCheck
Reserved: 23.09.2026 Published: 23.09.2026 Updated: 23.09.2026

orval versions before 8.29.0 contain a code injection vulnerability in the @orval/hono generator that fails to escape OpenAPI path values in single-quoted route literals. Attackers can craft an OpenAPI document with an apostrophe in a static path segment to inject arbitrary JavaScript code that executes when the generated TypeScript module is imported.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 9.3

Product Status

Vendor orval-labs
Product orval
Versions Default: unaffected
  • affected from 0 to 8.29.0 (excl.)
  • Version 8.29.0 is unaffected

Credits

  • Enrik Mustafa finder

References

Problem Types

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