CVE-2022-21144
HIGH
Published May 1, 20224y ago · Modified Jun 17, 20261w ago
7.5 CVSS 3.1
Published May 1, 2022 4y ago
Last Modified Jun 17, 2026 1w ago
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 Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 1
CWE-20 Improper Input Validation Validation
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| libxmljs_project | libxmljs | * | <0.19.8 |
References 3
- github.com https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d
- github.com https://github.com/libxmljs/libxmljs/pull/594
- snyk.io https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756
Remediation
- github.com https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d
- github.com https://github.com/libxmljs/libxmljs/pull/594