CVE Catalog

CVE-2026-96754

CriticalCVSS 9.8
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

Injected JavaScript code can be executed during module import, potentially leading to application compromise and security breaches.

Recommendation

Upgrade orval to version 8.29.0 or later and validate OpenAPI documents for malicious paths.

Other vulnerabilities in orval

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS