Orval-labs orval
orval @orval/hono before 8.29.0 Code Injection via OpenAPI Path
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.8critical · scored by CNA · CWE-94
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
orval-labs orval
- < 8.29.0
Fixed in 8.29.0
Mitigation
Upgrade orval to 8.29.0 or later.
References
- Vendor advisory github.com/orval-labs/orval/security/advisorie…
- Patch github.com/orval-labs/orval/pull/4006
- Patch github.com/orval-labs/orval/commit/155a5b7a38f…
1 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.