Description
This affects all versions of package libxmljs. When invoking the libxmljs.parseXml function with a non-buffer argument the V8 code will attempt invoking the .toString method of the argument. If the argument's toString value is not a Function object V8 will crash.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 1.9% · top 20% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
- Denial of Service (DoS)
- CWE-20 (opens in a new tab)All about CWE-20 and its CVEs
Affected products
libxmljs
- affected < unspecified
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmlibxmljsGHSA-773h-w45w-f2f9 (opens in a new tab)
References (3)
- https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/libxmljs/libxmljs/pull/594 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-773h-w45w-f2f9 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-21144)Record last updated .