PT-2022-16578 · Unknown · Convert-Svg-Core

Donggyu Kim

·

Published

2022-06-10

·

Updated

2022-06-17

·

CVE-2022-24278

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions convert-svg-core versions prior to 0.6.4
Description The issue arises from improper sanitization of SVG tags, allowing for Directory Traversal attacks. This can be exploited by using a specially crafted SVG file.
Recommendations For versions prior to 0.6.4, update to version 0.6.4 or later to resolve the issue. As a temporary workaround, consider restricting the use of convert-svg-core until a patch is applied. Avoid using convert-svg-core with untrusted SVG files until the issue is resolved.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-24278
GHSA-5F47-RCG5-9M24
SNYK-JS-CONVERTSVGCORE-2859830

Affected Products

Convert-Svg-Core