Advisory

GHSA-54px-mhwv-5v8x

Also known as: CVE-2022-24429, SNYK-JS-CONVERTSVGCORE-2859212

Summary

Code injection via SVG file in convert-svg-core

Details

The package convert-svg-core before 0.6.3 are vulnerable to Arbitrary Code Injection when using a specially crafted SVG file. An attacker can read arbitrary files from the file system and then show the file content as a converted PNG file.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-06-11 00:00 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

convert-svg-core

npm · All systems

Affected

  • introduced 0, fixed 0.6.3 (semver)

Fixed versions

0.6.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences