{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-96757","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-09-23T15:58:30.841Z","datePublished":"2026-09-23T16:23:55.164Z","dateUpdated":"2026-09-23T17:48:29.041Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-09-23T16:23:55.164Z"},"datePublic":"2026-09-06T00:00:00.000Z","title":"orval before 8.29.0 Code Injection via unescaped OpenAPI media-type","descriptions":[{"lang":"en","value":"orval before 8.29.0 fails to escape OpenAPI media-type keys when emitting them into single-quoted Content-Type string literals in generated code. Attackers can inject JavaScript through crafted media-type keys in OpenAPI specifications that executes when generated fetch operations or mock resolvers are invoked."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Improper Control of Generation of Code ('Code Injection')","cweId":"CWE-94","type":"CWE"}]}],"affected":[{"vendor":"orval-labs","product":"orval","defaultStatus":"unaffected","packageURL":"pkg:npm/orval","versions":[{"version":"6.7.1","status":"affected","versionType":"semver","lessThan":"8.29.0"},{"version":"8.29.0","status":"unaffected","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:orval:orval:*:*:*:*:*:*:*:*","versionEndExcluding":"8.29.0","versionStartIncluding":"6.7.1"}]}]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":9.3,"baseSeverity":"CRITICAL"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"}}],"references":[{"url":"https://github.com/orval-labs/orval/security/advisories/GHSA-4q3x-rqfw-3x8p","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-4q3x-rqfw-3x8p)"},{"url":"https://github.com/orval-labs/orval/security/advisories/GHSA-rcpr-mq4m-jx9j","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-rcpr-mq4m-jx9j)"},{"url":"https://github.com/orval-labs/orval/pull/4007","tags":["patch","issue-tracking"]},{"url":"https://github.com/orval-labs/orval/commit/43af282d62dca0ef3140023741fb768f6a718adb","tags":["patch"]},{"url":"https://github.com/orval-labs/orval/commit/a2d4af59f3b167dc8a7a65d15f51cdb89ebe2fe5","tags":["patch"]},{"url":"https://github.com/orval-labs/orval/blob/v8.28.1/packages/fetch/src/index.ts#L584","tags":["technical-description"]},{"url":"https://github.com/orval-labs/orval","tags":["product"]},{"name":"VulnCheck Advisory: orval before 8.29.0 Code Injection via unescaped OpenAPI media-type","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/orval-before-8.29.0-code-injection-via-unescaped-openapi-media-type"}],"credits":[{"lang":"en","value":"Enrik Mustafa","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"references":[{"url":"https://github.com/orval-labs/orval/security/advisories/GHSA-4q3x-rqfw-3x8p","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-23T17:47:51.520475Z","id":"CVE-2026-96757","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-09-23T17:48:29.041Z"}}]}}