Skip to content
OpenAdvisories
High · 8.1 CVE-2024-34393 EUVD-2024-1690GHSA-mjr4-7xg5-pfvh

libxmljs2 attrs type confusion RCE

Published May 2, 2024 · Updated Oct 3, 2026 · Assigned by JFROG

Description

libxmljs2 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).

Affected products

VendorProductAffectedFixed
— libxmljs2 ≤ 0.37.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm libxmljs2 <= 0.33.0 — GHSA-mjr4-7xg5-pfvh

References