CVE-2026-96759
orval before 8.29.0 fails to escape the operationId parameter when …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/orval-labs/orval
- github.com/orval-labs/orval/blob/v8.28.1/packages/query/src/query-generator.ts#L784
- github.com/orval-labs/orval/commit/b28c53f3e0c06190e0f6ea136737e6316432448f
- github.com/orval-labs/orval/pull/4008
- github.com/orval-labs/orval/security/advisories/GHSA-vv88-cm6j-665j
- www.vulncheck.com/advisories/orval-before-8.29.0-code-injection-via-operationid
- nvd.nist.gov/vuln/detail/CVE-2026-96759
- cve.org/CVERecord?id=CVE-2026-96759
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.