HIGH8.1
GHSA-6433-x5p4-8jc7
libxmljs vulnerable to type confusion when parsing specially crafted XML
Details
libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking a function on the result of `attrs()` that was called on a parsed node. This vulnerability might lead to denial of service (on both 32-bit systems and 64-bit systems), data leak, infinite loop and remote code execution (on 32-bit systems with the XML_PARSE_HUGE flag enabled).
Are you affected?
Enter the version of the package you're using.
Affected packages
npm/libxmljs
Introduced in:
0No fixed version published yet for libxmljs (npm). Pin to a known-safe version or switch to an alternative.