CVE-2026-96759 PUBLISHED

orval before 8.29.0 Code Injection via operationId

Assigner: VulnCheck
Reserved: 23.09.2026 Published: 23.09.2026 Updated: 23.09.2026

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.

Metrics

CVSS 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
CVSS Score: 9.3

Product Status

Vendor orval-labs
Product orval
Versions Default: unaffected
  • affected from 0 to 8.29.0 (excl.)
  • Version 8.29.0 is unaffected

Credits

  • Enrik Mustafa finder

References

Problem Types

  • Improper Control of Generation of Code ('Code Injection') CWE