orval before 8.29.0 fails to escape the operationId parameter when emitting it into generated TanStack Query mutator options metadata objects.
- CVSS
- 9.8Critical
- Chance of exploitation (EPSS)
- 0.54%
- Published
- Sep 23, 2026
- In the news
- Not yet
What to do
A critical code injection flaw that can be attacked over the network without logging in. No attacks are reported yet, but patch it soon.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 8.29.0
Affected versions
- Orval
- Before 8.29.0
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.
Affected products
Get alerts for these →No product list yet. It usually appears within a few days of publication.
Timeline 1
Latest change: CVE-2026-96759 published (CVSS 9.8) (Sep 23, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Sep 23, 2026
- CVECVE-2026-96759 published (CVSS 9.8)CVE Program · 17:17 UTC
References 7
- 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
- github.com /orval-labs/orval/security/advisories/GHSA-vv88-cm6j-665j