PT-2026-97407 · Npm · Orval
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
orval versions prior to 8.29.0
Description
The @orval/hono generator fails to escape OpenAPI path values within single-quoted route literals. This allows an attacker to craft an OpenAPI document containing an apostrophe in a static path segment, leading to the injection of arbitrary JavaScript code that executes upon the import of the generated TypeScript module.
Recommendations
Update orval to version 8.29.0 or later.
Exploit
Fix
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Orval