Advisory

GHSA-5f47-rcg5-9m24

Also known as: CVE-2022-24278, SNYK-JS-CONVERTSVGCORE-2859830

Summary

Directory traversal in convert-svg-core

Details

The package convert-svg-core before 0.6.4 is vulnerable to Directory Traversal due to improper sanitization of SVG tags. Exploiting this vulnerability is possible by using a specially crafted SVG 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.4 (semver)

Fixed versions

0.6.4

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