CVE-2026-23947 — Vulnerability in @orval/core — CVE Details
Orval has a code injection via unsanitized x-enum-descriptions in enum generation
Summary
Advisory Timeline
- First published January 21, 2026 (264 days ago).
- Last revised February 28, 2026 — 38 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install @orval/core@8.0.2
npm install @orval/core@7.19.0
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: npm (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| @orval/core | npm | All versions | 8.0.2 |
| @orval/core | npm | All versions | 7.19.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-77
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
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
References
- https://github.com/orval-labs/orval/security/advisories/GHSA-h526-wf6g-67jvWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-23947ADVISORY
- https://github.com/orval-labs/orval/commit/9e5d93533904936678ba93b5d20f6bca176a4e1eWEB
- https://github.com/orval-labs/orvalPACKAGE
- https://github.com/orval-labs/orval/releases/tag/v7.19.0WEB
- https://github.com/orval-labs/orval/releases/tag/v8.0.2WEB
Frequently Asked Questions
- What is CVE-2026-23947?
- Orval has a code injection via unsanitized x-enum-descriptions in enum generation This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2026-23947?
- CVE-2026-23947 affects @orval/core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-23947 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-25141CRITICAL
Orval has Code Injection via unsanitized x-enum-descriptions using JS comments
- CVE-2026-22785CRITICAL
orval MCP client is vulnerable to a code injection attack.
- CVE-2026-107722CRITICAL
fast-jwt: Incomplete patch of CVE-2026-34950: Non-whitespace key-prefix re-enables RSA→HS256 algorithm confusion
- CVE-2026-108261CRITICAL
TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies