GHSA-gch2-phqh-fg9q · Severity: critical · Ecosystem: npm — Orval has Code Injection via unsanitized x-enum-descriptions using JS comments
Orval generates type-safe JS clients (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification. Versions starting with 7.19.0 and prior to 7.21.0 and 8.2.0 have an incomplete fix for CVE-2026-23947. While the jsStringEscape function properly handles single quotes ('), double quotes (") and so on, it is still possible to achieve code injection using only a limited set of characters that are currently not escaped. The vulnerability lies in the fact that the application can be forced to execute arbitrary JavaScript using characters such as []()!+. By using a technique known as JSFuck, an attacker can bypass the current sanitization logic and run arbitrary code without needing any alphanumeric characters or quotes. Version 7.21.0 and 8.2.0 contain an updated fix.
Conclusion & alert: CVE-2026-25141 is rated Low Risk (39.1/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.02%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-02-18 | 0.05% | 0.02% | -0.03% |
| 2 | 2026-01-31 | — | 0.05% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.3 | 4.0 | CRITICAL |
|
— | — | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-gch2-phqh-fg9q · Severity: critical · Ecosystem: npm — Orval has Code Injection via unsanitized x-enum-descriptions using JS comments
| URL | Tags |
|---|---|
| https://github.com/orval-labs/orval/blob/02211fc413524be340ba9ace866a2ef68845ca7c/packages/core/src/utils/string.ts#L227 | Product |
| https://github.com/orval-labs/orval/releases/tag/v7.21.0 | Product Release Notes |
| https://github.com/orval-labs/orval/releases/tag/v8.2.0 | Product Release Notes |
| https://github.com/orval-labs/orval/security/advisories/GHSA-gch2-phqh-fg9q | Vendor Advisory |
| https://github.com/orval-labs/orval/security/advisories/GHSA-h526-wf6g-67jv | Vendor Advisory |