CVEvulnerability
CVE-2022-21144
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-05-01
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-20
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.
Affected configurations
• libxmljs project libxmljs (< 0.19.8)
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d Patch, Third Party Advisory
- https://github.com/libxmljs/libxmljs/pull/594 Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756 Exploit, Third Party Advisory
- https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d Patch, Third Party Advisory
- https://github.com/libxmljs/libxmljs/pull/594 Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756 Exploit, Third Party Advisory