# CVE-2024-34392: libxmljs namespaces type confusion RCE

- Severity: High 8.1 (CVSS:3.1, scored by JFROG) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.14%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-05-02T18:55:38.219Z
- Modified: 2026-06-17T07:33:18.353Z
- Also known as: GHSA-mg49-jqgw-gcj6
- Weaknesses: CWE-843
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: JFROG

## Description

libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes _wrap__xmlNode_nsDef_get()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.

(As written by CVE List.)

## Affected

- libxmljs: up to 1.0.11
- libxmljs_project libxmljs: up to 1.0.11; before 1.0.11
- libxmljs (npm): up to 1.0.11

## Every score

- JFROG: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.1 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://research.jfrog.com/vulnerabilities/libxmljs-namespaces-type-confusion-rce-jfsa-2024-001034096/> (exploit, third-party-advisory)
- <https://github.com/libxmljs/libxmljs/issues/646> (exploit, issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-34392> (advisory)
- <https://github.com/libxmljs/libxmljs> (package)
- <https://research.jfrog.com/vulnerabilities/libxmljs-namespaces-type-confusion-rce-jfsa-2024-001034096> (web)

## Sources

- CVE List: [CVE-2024-34392](https://www.cve.org/CVERecord?id=CVE-2024-34392), CVE Terms of Use, modified 2024-11-25
- GitHub Advisory Database: [GHSA-mg49-jqgw-gcj6](https://github.com/advisories/GHSA-mg49-jqgw-gcj6), CC-BY-4.0, modified 2024-11-18
- NVD: [CVE-2024-34392](https://nvd.nist.gov/vuln/detail/CVE-2024-34392), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-34392 · Whole record: https://cve.day/CVE-2024-34392.json · Rebuilt by cve.day 2026-11-25T22:58:39.908Z
