{"id":"CVE-2026-96759","published":"2026-09-23T17:17:25.250","lastModified":"2026-09-29T02:16:56.497","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.","cvssScore":9.8,"cvssSeverity":"CRITICAL","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-94"],"vendors":[],"products":[],"references":[{"url":"https://github.com/orval-labs/orval","tags":[]},{"url":"https://github.com/orval-labs/orval/blob/v8.28.1/packages/query/src/query-generator.ts#L784","tags":[]},{"url":"https://github.com/orval-labs/orval/commit/b28c53f3e0c06190e0f6ea136737e6316432448f","tags":[]},{"url":"https://github.com/orval-labs/orval/pull/4008","tags":[]},{"url":"https://github.com/orval-labs/orval/security/advisories/GHSA-vv88-cm6j-665j","tags":[]},{"url":"https://www.vulncheck.com/advisories/orval-before-8.29.0-code-injection-via-operationid","tags":[]},{"url":"https://github.com/orval-labs/orval/security/advisories/GHSA-vv88-cm6j-665j","tags":[]}],"exploitRefs":[{"url":"https://github.com/orval-labs/orval","tags":[]},{"url":"https://github.com/orval-labs/orval/blob/v8.28.1/packages/query/src/query-generator.ts#L784","tags":[]},{"url":"https://github.com/orval-labs/orval/commit/b28c53f3e0c06190e0f6ea136737e6316432448f","tags":[]},{"url":"https://github.com/orval-labs/orval/pull/4008","tags":[]},{"url":"https://github.com/orval-labs/orval/security/advisories/GHSA-vv88-cm6j-665j","tags":[]},{"url":"https://github.com/orval-labs/orval/security/advisories/GHSA-vv88-cm6j-665j","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows attackers to inject arbitrary JavaScript code by manipulating the operationId parameter, leading to remote code execution.","exploitability":"Exploitation is relatively straightforward given a crafted operationId in the OpenAPI specification.","blast_radius":"If exploited, the impact could be severe, potentially leading to full system compromise.","remediation":"Upgrade to orval 8.29.0 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","web","javascript","api"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-09-27T08:51:31.510Z"}}