Lookup for vulnerable packages by Package URL.

Purlpkg:npm/%40orval/core@8.0.2
Typenpm
Namespace@orval
Namecore
Version8.0.2
Qualifiers
Subpath
Is_vulnerablefalse
Next_non_vulnerable_version7.21.0
Latest_non_vulnerable_version8.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
0
reference_url https://github.com/orval-labs/orval
reference_id
reference_type
scores
url https://github.com/orval-labs/orval
1
reference_url https://github.com/orval-labs/orval/commit/9e5d93533904936678ba93b5d20f6bca176a4e1e
reference_id
reference_type
scores
url https://github.com/orval-labs/orval/commit/9e5d93533904936678ba93b5d20f6bca176a4e1e
2
reference_url https://github.com/orval-labs/orval/releases/tag/v8.0.2
reference_id
reference_type
scores
url https://github.com/orval-labs/orval/releases/tag/v8.0.2
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-23947
reference_id CVE-2026-23947
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2026-23947
4
reference_url https://github.com/advisories/GHSA-h526-wf6g-67jv
reference_id GHSA-h526-wf6g-67jv
reference_type
scores
url https://github.com/advisories/GHSA-h526-wf6g-67jv
5
reference_url https://github.com/orval-labs/orval/security/advisories/GHSA-h526-wf6g-67jv
reference_id GHSA-h526-wf6g-67jv
reference_type
scores
url https://github.com/orval-labs/orval/security/advisories/GHSA-h526-wf6g-67jv
fixed_packages
0
url pkg:npm/%40orval/core@8.0.2
purl pkg:npm/%40orval/core@8.0.2
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/%2540orval/core@8.0.2
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_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:npm/%2540orval/core@8.0.2