Vulnerability record · CVE-2022-21144 · published 1 May 2022
CVE-2022-21144: Libxmljs project libxmljs improper input validation vulnerability
LLibxmljs Project · Libxmljs
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.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d | PatchThird Party Advisory |
| https://github.com/libxmljs/libxmljs/pull/594 | PatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756 | ExploitThird Party Advisory |
| https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d | PatchThird Party Advisory |
| https://github.com/libxmljs/libxmljs/pull/594 | PatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756 | ExploitThird Party Advisory |
Track CVE-2022-21144 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-21144), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.