NetSight
critical8.1

CVE-2024-34392

libxmljs vulnerable to type confusion when parsing specially crafted XML

Impact

libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the `namespaces()` function (which invokes `_wrap__xmlNode_nsDef_get()`) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.

Affected packages

EcosystemPackageAffectedFixed in
npmlibxmljs<= 1.0.11none recorded

Affected products

VendorProductAffected versions
Libxmljs ProjectLibxmljs
before 1.0.11

Weakness classification

References