What’s Vulnerable › Vulnerabilities
CVE-2022-24278: Directory Traversal
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-06-10 · updated 2026-06-17
- Weakness: CWE-22
Description
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.
Affected products
- Convert-Svg Project Convert-Svg: before 0.6.4 — fixed in 0.6.4
How to fix
Upgrade to a fixed version: Convert-Svg Project Convert-Svg 0.6.4. Check the vendor advisory for mitigations.
References
- https://github.com/neocotic/convert-svg/commit/2bbc498c5029238637206661dbac9e44d37d17c5
- https://github.com/neocotic/convert-svg/issues/86
- https://github.com/neocotic/convert-svg/pull/87
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-2859830
- https://github.com/neocotic/convert-svg/commit/2bbc498c5029238637206661dbac9e44d37d17c5
- https://github.com/neocotic/convert-svg/issues/86
- https://github.com/neocotic/convert-svg/pull/87
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-2859830
Get alerted when CVE-2022-24278 or the next vulnerability affects your stack