CVE-2026-25141

9.8 CRITICAL
Published: January 30, 2026 Modified: February 27, 2026
View on NVD

Description

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/orval-labs/orval/releases/tag/v7.21.0
Source: security-advisories@github.com
Product Release Notes
https://github.com/orval-labs/orval/releases/tag/v8.2.0
Source: security-advisories@github.com
Product Release Notes
https://github.com/orval-labs/orval/security/advisories/GHSA-gch2-phqh-fg9q
Source: security-advisories@github.com
Vendor Advisory
https://github.com/orval-labs/orval/security/advisories/GHSA-h526-wf6g-67jv
Source: security-advisories@github.com
Vendor Advisory

5 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.8 / 10.0
EPSS (Exploit Probability)
0.0%
7th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

orval