Skip to main content
MalwarePublished Updated

libxmljs12 (npm) · Malicious Code

Affects libxmljs12Source GCVE Database

0

Malicious package : remove libxmljs12 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-1772

What to do

Remove libxmljs12 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
npmlibxmljs12pkg:npm/libxmljs12Other threatsAffected
  • =0.30.1
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 libxmljs12 version 0.30.1 was found to contain malicious code according to Amazon Inspector. This indicates a supply chain compromise where the package itself is malicious.

References

Community reviews

Loading reviews…