GHSA-54px-mhwv-5v8x

Suggest an improvement
Source
https://github.com/advisories/GHSA-54px-mhwv-5v8x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-54px-mhwv-5v8x/GHSA-54px-mhwv-5v8x.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-54px-mhwv-5v8x
Aliases
Published
2022-06-11T00:00:17Z
Modified
2025-01-08T14:12:09.184843Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H CVSS Calculator
Summary
Code injection via SVG file in convert-svg-core
Details

The package convert-svg-core before 0.6.3 are vulnerable to Arbitrary Code Injection when using a specially crafted SVG file. An attacker can read arbitrary files from the file system and then show the file content as a converted PNG file.

Database specific
{
    "nvd_published_at": "2022-06-10T20:15:00Z",
    "github_reviewed_at": "2022-06-17T00:55:34Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-74",
        "CWE-94"
    ]
}
References

Affected packages

npm / convert-svg-core

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.6.3