CVE-2024-34393
JavaScript vulnerability analysis and mitigation

Overview

libxmljs2 was discovered to contain a type confusion vulnerability (CVE-2024-34393) when parsing specially crafted XML while invoking a function on the result of attrs() that was called on a parsed node. The vulnerability was disclosed on May 2, 2024, affecting the libxmljs2 package across multiple versions (JFrog Research).

Technical details

The vulnerability is classified with a CVSS v3.1 base score of 8.1 (HIGH) with the vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. The issue stems from improper type handling during XML parsing operations, specifically when using the attrs() function on parsed nodes. The vulnerability is tracked under CWE-843 (Access of Resource Using Incompatible Type) (NVD).

Impact

The vulnerability can lead to multiple severe consequences including denial of service on both 32-bit and 64-bit systems, data leaks, infinite loops, and potential remote code execution specifically on 32-bit systems when the XML_PARSE_HUGE flag is enabled (JFrog Research).

Exploitability

The vulnerability can be exploited by providing specially crafted XML input to the application. A proof of concept exists demonstrating the vulnerability by using specific XML parsing operations with the XML_PARSE_HUGE flag enabled (JFrog Research).

Mitigation and workarounds

As of the vulnerability disclosure, no specific mitigations have been provided for this issue (JFrog Research).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-45618CRITICAL10
  • JavaScript logoJavaScript
  • liquidjs
NoYesAug 11, 2026
CVE-2026-48170CRITICAL9.1
  • JavaScript logoJavaScript
  • scim-patch
NoYesAug 07, 2026
CVE-2026-48007HIGH8.6
  • JavaScript logoJavaScript
  • @element-hq/element-call-embedded
NoYesAug 07, 2026
CVE-2026-69207MEDIUM5.3
  • JavaScript logoJavaScript
  • gemini-cli
NoYesAug 07, 2026
CVE-2026-71850MEDIUM4.8
  • JavaScript logoJavaScript
  • langfuse-fips-3
NoYesAug 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management