GHSA-78h3-pg4x-j8cvCriticalCVSS 8.1

libxmljs2 vulnerable to type confusion when parsing specially crafted XML

Published
May 2, 2024
Last Modified
November 25, 2024

🔗 CVE IDs covered (1)

📋 Description

libxmljs2 is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes XmlNode::get_local_namespaces()) 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 products1

  • npm/libxmljs2:<= 0.35.0

🔗 References (4)