Lookup for vulnerable packages by Package URL.
| Purl | pkg:npm/%40orval/core@8.0.2 |
| Type | npm |
| Namespace | @orval |
| Name | core |
| Version | 8.0.2 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | false |
| Next_non_vulnerable_version | 7.21.0 |
| Latest_non_vulnerable_version | 8.2.0 |
| Affected_by_vulnerabilities |
|
| Fixing_vulnerabilities |
| 0 |
| url |
VCID-q8dj-x4cp-fyd6 |
| vulnerability_id |
VCID-q8dj-x4cp-fyd6 |
| summary |
Orval has a code injection via unsanitized x-enum-descriptions in enum generation
Arbitrary code execution in environments consuming generated clients
This issue is similar in nature to the recently-patched MCP vulnerability (CVE-2026-22785), but affects a different code path in @orval/core that was not addressed by that fix.
The vulnerability allows untrusted OpenAPI specifications to inject arbitrary TypeScript/JavaScript code into generated clients via the x-enumDescriptions field, which is embedded without proper escaping in getEnumImplementation(). I have confirmed that the injection occurs during const enum generation and results in executable code within the generated schema files. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2026-23947, GHSA-h526-wf6g-67jv
|
| risk_score |
null |
| exploitability |
null |
| weighted_severity |
null |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-q8dj-x4cp-fyd6 |
|
|
| Risk_score | null |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:npm/%2540orval/core@8.0.2 |