CVE-2026-96759
orval before 8.29.0 Code Injection via operationId
- State
- Published
- Severity
- 9.3 Critical
- Published
- Sep 23, 2026
- Updated
- Sep 29, 2026
- Reserved
- Sep 23, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-94 Improper Control of Generation of Code ('Code Injection')
Affected Products
| Product | Versions |
|---|---|
orvalorval-labs |
|
References
- GitHub Security Advisory (GHSA-vv88-cm6j-665j)vendor-advisory
- https://github.com/orval-labs/orval/pull/4008patchissue-tracking
- https://github.com/orval-labs/orval/commit/b28c53f3e0c06190e0f6ea136737e6316432448fpatch
- https://github.com/orval-labs/orval/blob/v8.28.1/packages/query/src/query-generator.ts#L784technical-description
- https://github.com/orval-labs/orvalproduct
- VulnCheck Advisory: orval before 8.29.0 Code Injection via operationIdthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.