libxmljs2-malicious (npm) · Malicious Code
Affects libxmljs2-maliciousSource GCVE Database
Malicious package : remove libxmljs2-malicious and rotate any secrets on hosts that installed it.
Data as of 25 Nov 2026, 12:07 UTC
Malicious package
Published to npm · OSV MAL-2026-1775
What to do
Remove libxmljs2-malicious from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmlibxmljs2-maliciouspkg:npm/libxmljs2-maliciousOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package libxmljs2-malicious version 0.19.9 was identified as containing malicious code. This package is flagged as malware due to the presence of harmful content within its codebase. No CVSS score or detailed impact analysis is provided in the source data.