node-internal-svg-loader @1.0.1
Vulnerability report · Last retrieved from osv.dev August 13, 2026 at 4:27 AM UTC
OSV ID
MAL-2026-13766
Ecosystem
npm
Summary
Package advertises itself as an SVG loader using well-known CDN providers, but exported functions getPlugin, setPlugin, and getPluginExten build a request to https://rest-icon-handler.store/icons/<token> and pass the response body directly to eval(JSON.parse(body)). The destination host is not one of the CDNs the README references (Cloudflare/Fastly/Akamai/CloudFront/KeyCDN/Gcore), is not caller-configurable, and is assembled from separate protocol/subdomain/domain/path constants rather than a literal string. A benign-looking setDefaultModule that talks to cdnjs sits alongside the eval path as cover. Any consumer invoking these APIs executes arbitrary JavaScript returned by whoever controls rest-icon-handler.store, on the consumer's Node.js process with full ambient credentials and filesystem access.
Source: amazon-inspector (ea179fb3670844db867458418a68b3eb69dfd983ebe1fe96b2a4b41601266fc4)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.