CVE Catalog

CVE-2026-96759

CriticalCVSS 9.8
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

Injected JavaScript code can be executed in the application context, potentially leading to data theft, session hijacking, or other malicious actions.

Recommendation

Upgrade orval to version 8.29.0 or later and validate OpenAPI specifications for malicious operationId values.

Other vulnerabilities in orval

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS