Skip to main content
MalwarePublished

node-internal-svg-loader (npm) · Malicious Code

Affects node-internal-svg-loaderSource GCVE Database

0

Malicious package : remove node-internal-svg-loader and rotate any secrets on hosts that installed it.

Data as of 12 Aug 2026, 16:41 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-13766

What to do

Remove node-internal-svg-loader 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
npmnode-internal-svg-loaderAffected
  • =1.0.1
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The node-internal-svg-loader npm package versions 1.0.0 and 1.0.1 contain malicious code that fetches JavaScript from an untrusted external domain and executes it via eval in the Node.js environment. This allows arbitrary code execution with full access to the host system. Any system with this package installed should be considered fully compromised, and all secrets on the system should be rotated immediately. Removal of the package alone may not eliminate the compromise.

References

Community reviews

Loading reviews…