Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/orval-labs/orval
- https://github.com/orval-labs/orval/blob/v8.28.1/packages/query/src/query-genera
- https://github.com/orval-labs/orval/commit/b28c53f3e0c06190e0f6ea136737e63164324
- https://github.com/orval-labs/orval/pull/4008
- https://github.com/orval-labs/orval/security/advisories/GHSA-vv88-cm6j-665j
- https://www.vulncheck.com/advisories/orval-before-8.29.0-code-injection-via-oper
- https://github.com/orval-labs/orval/security/advisories/GHSA-vv88-cm6j-665j
FAQ
What is CVE-2026-96759?
CVE-2026-96759 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 ...
How severe is CVE-2026-96759?
CVE-2026-96759 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-96759?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.