CVE-2026-25141CRITICAL 9.8EPSS p44.1%

CVE-2026-25141CVE-2026-25141

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.

Scoring

CVSS 3.19.8 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS0.60% probability of exploitation · percentile 44.1% · 2026-06-19T12:03:05Z
Published2026-01-30
Last modified2026-02-27

Underlying weaknesses· 1

CWE-94

References

  1. https://github.com/orval-labs/orval/blob/02211fc413524be340ba9ace866a2ef68845ca7c/packages/core/src/utils/string.ts#L227
  2. https://github.com/orval-labs/orval/releases/tag/v7.21.0
  3. https://github.com/orval-labs/orval/releases/tag/v8.2.0
  4. https://github.com/orval-labs/orval/security/advisories/GHSA-gch2-phqh-fg9q
  5. https://github.com/orval-labs/orval/security/advisories/GHSA-h526-wf6g-67jv

1

TypeTargetConfidenceTier
WeaknessImproper Control of Generation of Code ('Code Injection')cwe-940%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-23947
CVE
CVE-2026-24132
CVE
CVE-2026-22785
CVE
CVE-2026-33331
CVE
CVE-2026-23736
CVE
CVE-2025-22636
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.