CVE-2022-24278
HIGH7.5EPSS 0.73%Directory traversal in convert-svg-core
Published: 6/11/2022Modified: 3/13/2026
Also known as:GHSA-5f47-rcg5-9m24
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.
Affected packages (1)
- npm/convert-svg-corefrom 0, < 0.6.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-24278
- PATCHhttps://github.com/neocotic/convert-svg
- WEBhttps://github.com/neocotic/convert-svg/commit/2bbc498c5029238637206661dbac9e44d37d17c5
- WEBhttps://github.com/neocotic/convert-svg/issues/86
- WEBhttps://github.com/neocotic/convert-svg/pull/87
- WEBhttps://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-2859830