PT-2026-97408 · 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 8.14.0 through 8.28.1
Description
The @orval/effect generator improperly converts OpenAPI schema defaults into template literals. This allows for code injection where arbitrary JavaScript expressions using the
${...} syntax can be executed at the module scope during the build or import process of the generated code.Recommendations
Update orval to a version newer than 8.28.1.
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