What’s Vulnerable › Vulnerabilities

CVE-2026-96754: orval @orval/hono before 8.29.0 Code Injection via OpenAPI Path

Description

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.

Affected products

How to fix

Upgrade to a fixed version: orval-labs orval 8.29.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-96754 or the next vulnerability affects your stack