# libxmljs (npm) vulnerabilities

4 known vulnerabilities (4 high), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 1.0.11 (Oct 18, 2023): affected by 3 advisories
- Newest unaffected release: Every release is affected by at least one advisory
- Weekly downloads: 101.8K
- Dependents: 197
- Releases: 55 since 0.4.1 (Jun 4, 2011)
- Registry: https://www.npmjs.com/package/libxmljs
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2025-25341: 0.4.1 to 1.0.11 (through the newest release)
- CVE-2024-34392: 0.4.1 to 1.0.11 (through the newest release)
- CVE-2024-34391: 0.4.1 to 1.0.11 (through the newest release)
- CVE-2022-21144: 0.4.1 to 0.19.7 (0.19.8 is outside it)

## Advisories (4)

### [CVE-2025-25341](https://cve.now/CVE-2025-25341): A vulnerability exists in the libxmljs 1.0.11 when parsing a specially crafted XML document.

- Severity: High 7.5
- Published: Dec 26, 2025
- Affected: through 1.0.11.
- No fix released. The latest release, 1.0.11, is still affected.
- 100% of libxmljs downloads last week were affected versions (153.9K).

### [CVE-2024-34392](https://cve.now/CVE-2024-34392): libxmljs namespaces type confusion RCE

- Severity: High 8.1
- Published: May 2, 2024
- Affected: through 1.0.11; through 1.0.11.
- No fix released. The latest release, 1.0.11, is still affected.
- 100% of libxmljs downloads last week were affected versions (153.9K).

### [CVE-2024-34391](https://cve.now/CVE-2024-34391): libxmljs attrs type confusion RCE

- Severity: High 8.1
- Published: May 2, 2024
- Affected: through 1.0.11; through 1.0.11.
- No fix released. The latest release, 1.0.11, is still affected.
- 100% of libxmljs downloads last week were affected versions (153.9K).

### [CVE-2022-21144](https://cve.now/CVE-2022-21144): Denial of Service (DoS)

- Severity: High 7.5
- Published: May 1, 2022
- Affected: fixed in 0.19.8.
- Fixed in 0.19.8 (released May 4, 2022, 3 days after disclosure).
- The latest release, 1.0.11, is not affected.
- 5.5% of libxmljs downloads last week were affected versions (8.5K).

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/libxmljs
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
