Live threats

All CVEs / Convert-svg-core Project

CVE-2021-23631Convert-svg-core Project Convert-svg-core

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.0%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Jan 21, 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:N/A:N

What happens

This affects all versions of package convert-svg-core; all versions of package convert-svg-to-png; all versions of package convert-svg-to-jpeg. Using a specially crafted SVG file, an attacker could read arbitrary files from the file system and then show the file content as a converted PNG file.

Original NVD text.

What to do

  1. Apply the vendor's security update for Convert-svg-core.
  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.5.0 no fixed version —
npm convert-svg-to-jpeg ≤ 0.5.0 no fixed version —
npm convert-svg-to-png ≤ 0.5.0 no fixed version —

Per OSV / GitHub Advisories (GHSA-jv7g-9g6q-cxvw). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
convert-svg-core_projectconvert-svg-coreall

Official sources

References

Links published by the sources. Open them with care.