CVE-2026-96759 Details
Description
orval before 8.29.0 fails to escape the operationId parameter when emitting it into generated TanStack Query mutator options metadata objects. Attackers can inject arbitrary JavaScript code through a crafted operationId in an OpenAPI specification that executes when generated hooks are called.
A code injection vulnerability has been identified in Orval versions prior to 8.29.0. The issue arises because the tool fails to properly escape the operationId parameter when it is included in the metadata objects for TanStack Query mutator options. This flaw allows attackers to inject arbitrary JavaScript code through a manipulated operationId in an OpenAPI specification. The injected code is executed when the generated hooks are invoked, leading to potential exploitation.
Users can upgrade to Orval version 8.29.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| orval | <= 8.27.0 (semver) |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 23, 2026 | New CVE Received | [email protected] |
Volerion