Skip to content

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

CriticalCVSS 9.3 EPSS 0.54%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
npm orval < 8.29.0 8.29.0 Fixed

Affected products

ProductAffected versionsFixed in
npm orval < 8.29.0 8.29.0

References