Skip to main content
MalwarePublished Updated

libxmljs2-1 (npm) · Malicious Code

Affects libxmljs2-1Source GCVE Database

0

Malicious package : remove libxmljs2-1 and rotate any secrets on hosts that installed it.

Data as of 25 Nov 2026, 12:07 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-1774

What to do

Remove libxmljs2-1 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

ProductAffectedFixed in
npmlibxmljs2-1pkg:npm/libxmljs2-1Other threatsAffected
  • =0.30.2
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-1 version 0.30.2 was found to contain malicious code. This indicates that the package itself has been compromised or intentionally included harmful functionality.

References

Community reviews

Loading reviews…