---
title: "CVE-2024-34392: libxmljs vulnerable to type confusion when parsing specially crafted XML"
url: https://erroneo.us/security/cve/CVE-2024-34392/
description: "CVE-2024-34392 (libxmljs (npm)): libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-05-02
date_modified: 2024-11-25
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-34392"
kev: false
cvss: 9.3
epss: 0.01136
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2024-34392: libxmljs vulnerable to type confusion when parsing specially crafted XML

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 1.1% , percentile 66: FIRST’s model estimates a 1.1% chance of exploitation activity in the next 30 days, higher than 66% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes libxmljs (npm) <= 1.0.11, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

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

- npm `libxmljs` <= 1.0.11 → fixed: none listed

## Affected products (CVE record)

-  libxmljs: <= 1.0.11

## Severity

- JFROG CVSS 3.1: 8.1 `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 4.0: 9.3 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 1.14% probability of exploitation activity in the next 30 days; percentile 66.

## Sources

- [GitHub Advisory GHSA-mg49-jqgw-gcj6](https://github.com/advisories/GHSA-mg49-jqgw-gcj6)
- [CVE.org record CVE-2024-34392](https://www.cve.org/CVERecord?id=CVE-2024-34392)
- [NVD entry CVE-2024-34392](https://nvd.nist.gov/vuln/detail/CVE-2024-34392)
- [research.jfrog.com](https://research.jfrog.com/vulnerabilities/libxmljs-namespaces-type-confusion-rce-jfsa-2024-001034096/)
- [github.com](https://github.com/libxmljs/libxmljs/issues/646)

---
Source page: https://erroneo.us/security/cve/CVE-2024-34392/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
