Live threats

All CVEs / orval-labs

CVE-2026-96759orval-labs orval

JavaScript Code Injection in Orval via operationId Parameter

Critical 9.3 No auth needed

Priority
71
CVSS 4.0
9.3
EPSS
—
Auth required
No
Published
Sep 23, 2026
Updated
Sep 29, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Orval before version 8.29.0 fails to properly escape the operationId parameter when generating metadata in TanStack Query mutator options objects. An attacker can inject arbitrary JavaScript code through a crafted operationId in an OpenAPI specification that executes when generated hooks are invoked.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 8.29.0

Update Orval to version 8.29.0 or later to apply proper escaping of the operationId parameter.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for orval.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.