An image processing library for Node.js with SVG read, write, rasterize, and markup transforms.
An exported function executes JavaScript concealed in a specially formatted SVG comment. This creates arbitrary code execution when an application passes untrusted SVG text to that function.
The package decodes a binary payload from an SVG comment and evaluates it as JavaScript.
dist/esm/svg.jsView on unpkg · L22Package source references a known benign dynamic code generation pattern.
dist/esm/svg.jsView on unpkg · L27A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/commonjs/svg.js#virtual:normalized:round1View on unpkgThe arbitrary-code executor is exported from the main ESM entry point.
dist/esm/index.jsView on unpkg · L129Package source references a known benign dynamic code generation pattern.
dist/esm/svg.jsView on unpkg · L27The package decodes a binary payload from an SVG comment and evaluates it as JavaScript.
dist/esm/svg.jsView on unpkg · L22A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/commonjs/svg.js#virtual:normalized:round1View on unpkgThe arbitrary-code executor is exported from the main ESM entry point.
dist/esm/index.jsView on unpkg · L129