Description
orval @orval/core before 8.28.0 contains a code injection vulnerability in the form-data serializer that fails to escape multipart property names in generated template literals. Attackers can inject ${...} expressions into OpenAPI schema property names that execute as live interpolation when the generated client builds FormData bodies with consumer process privileges.
Severity (CVSS)
| Base score | 9.3 |
|---|---|
| Severity | Critical |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-94 — Improper Control of Generation of Code ('Code Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| orval-labs | orval | 0 to <8.28.0; 8.28.0 |
References
- https://github.com/orval-labs/orval/security/advisories/GHSA-jwhm-6748-j6pq (vendor-advisory)
- https://github.com/orval-labs/orval/pull/3988 (patch issue-tracking)
- https://github.com/orval-labs/orval/commit/975a769a76151354dead879feadfa3537ff065fe (patch)
- https://github.com/orval-labs/orval/blob/v8.27.0/packages/core/src/getters/res-req-types.ts#L808 (technical-description)
- https://github.com/orval-labs/orval (product)
- https://www.vulncheck.com/advisories/orval-orval-core-before-8.28.0-code-injection-via-form-data (third-party-advisory)
Generated from the official CVE List on 24 Sep 2026 07:02 UTC.