Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @orval/core
  4. ›
  5. CVE-2026-25141

CVE-2026-25141: Orval has Code Injection via unsanitized x-enum-descriptions using JS comments

January 30, 2026 (updated January 31, 2026)

CVE-2026-23947 had an incomplete fix

References

  • github.com/advisories/GHSA-gch2-phqh-fg9q
  • github.com/orval-labs/orval
  • github.com/orval-labs/orval/blob/02211fc413524be340ba9ace866a2ef68845ca7c/packages/core/src/utils/string.ts
  • github.com/orval-labs/orval/releases/tag/v7.21.0
  • github.com/orval-labs/orval/releases/tag/v8.2.0
  • github.com/orval-labs/orval/security/advisories/GHSA-gch2-phqh-fg9q
  • github.com/orval-labs/orval/security/advisories/GHSA-h526-wf6g-67jv
  • nvd.nist.gov/vuln/detail/CVE-2026-25141

Code Behaviors & Features

Detect and mitigate CVE-2026-25141 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 7.19.0 before 7.21.0, all versions starting from 8.0.0 before 8.2.0

Fixed versions

  • 7.21.0
  • 8.2.0

Solution

Upgrade to versions 7.21.0, 8.2.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-84: Improper Neutralization of Encoded URI Schemes in a Web Page
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/@orval/core/CVE-2026-25141.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:42 +0000.