Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. convert-svg-core
  4. ›
  5. CVE-2022-25759

CVE-2022-25759: Improper Control of Generation of Code ('Code Injection')

July 22, 2022 (updated July 25, 2022)

The package convert-svg-core before 0.6.2 is vulnerable to Remote Code Injection via sending an SVG file containing the payload.

References

  • github.com/neocotic/convert-svg/commit/7e6031ac7427cf82cf312cb4a25040f2e6efe7a5
  • github.com/neocotic/convert-svg/issues/81
  • github.com/neocotic/convert-svg/pull/82
  • nvd.nist.gov/vuln/detail/CVE-2022-25759
  • security.snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-2849633

Code Behaviors & Features

Detect and mitigate CVE-2022-25759 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.6.2

Fixed versions

  • 0.6.2

Solution

Upgrade to version 0.6.2 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/convert-svg-core/CVE-2022-25759.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:16 +0000.