Live threats

All CVEs / Convert-svg Project

CVE-2022-24278Convert-svg Project Convert-svg

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.0%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Jun 10, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

The package convert-svg-core before 0.6.4 are vulnerable to Directory Traversal due to improper sanitization of SVG tags. Exploiting this vulnerability is possible by using a specially crafted SVG file.

Original NVD text.

What to do

  1. Apply the vendor's security update for Convert-svg.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm convert-svg-core < 0.6.4 0.6.4 npm install convert-svg-core@0.6.4

Per OSV / GitHub Advisories (GHSA-5f47-rcg5-9m24). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
convert-svg_projectconvert-svg< 0.6.4

Official sources

References

Links published by the sources. Open them with care.