High severityNVD Advisory· Published May 1, 2022· Updated Sep 16, 2024
Denial of Service (DoS)
CVE-2022-21144
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
libxmljsnpm | < 0.19.8 | 0.19.8 |
Affected products
2Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- github.com/advisories/GHSA-773h-w45w-f2f9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-21144ghsaADVISORY
- github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379dghsax_refsource_MISCWEB
- github.com/libxmljs/libxmljs/pull/594ghsax_refsource_MISCWEB
- snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.