GitHub Advisoryadvisory · npm

GHSA-5f47-rcg5-9m24 Directory traversal in convert-svg-core

HIGH Published 2022-06-11 Modified 2022-06-20 Official page ↗
Aliases
CVE-2022-24278
Ecosystem
npm
Packages
convert-svg-core
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2022-06-17

Affected packages

• npm convert-svg-core: < 0.6.4 → fixed in 0.6.4

Description

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.

Related

Alias · CVE (1)

  • CVE-2022-24278 The package convert-svg-core before 0.6.4 are vulnerable to Directory Traversal due to improper sanitization of SVG tags. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References