# CVE-2026-96757: orval before 8.29.0 Code Injection via unescaped OpenAPI media-type

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-23T16:23:55.164Z
- Modified: 2026-09-23T18:17:12.200Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- orval-labs orval: from 6.7.1 before 8.29.0 (not affected: 8.29.0)

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `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`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/orval-labs/orval/security/advisories/GHSA-4q3x-rqfw-3x8p> (exploit, vendor-advisory)
- <https://github.com/orval-labs/orval/security/advisories/GHSA-rcpr-mq4m-jx9j> (vendor-advisory)
- <https://github.com/orval-labs/orval/pull/4007> (issue-tracking, patch)
- <https://github.com/orval-labs/orval/commit/43af282d62dca0ef3140023741fb768f6a718adb> (patch)
- <https://github.com/orval-labs/orval/commit/a2d4af59f3b167dc8a7a65d15f51cdb89ebe2fe5> (patch)
- <https://github.com/orval-labs/orval/blob/v8.28.1/packages/fetch/src/index.ts#L584> (technical-description)
- <https://github.com/orval-labs/orval> (product)
- <https://www.vulncheck.com/advisories/orval-before-8.29.0-code-injection-via-unescaped-openapi-media-type> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-96757](https://www.cve.org/CVERecord?id=CVE-2026-96757), CVE Terms of Use, modified 2026-09-23
- NVD: [CVE-2026-96757](https://nvd.nist.gov/vuln/detail/CVE-2026-96757), Public domain, modified 2026-09-23

---

Page: https://cve.day/CVE-2026-96757 · Whole record: https://cve.day/CVE-2026-96757.json · Rebuilt by cve.day 2026-11-25T22:59:40.649Z
