Vulnerability · Published Jun 10, 2022 · Assigned by snyk
CVE-2022-24278Directory Traversal
High 7.5
In plain English
A high-severity security flaw in convert-svg-core. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)2.2%top 17.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | convert-svg-core | 0.6.4 | GHSA-5f47-rcg5-9m24 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | convert-svg-core | unspecified – before 0.6.4 |
References
- https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-2859830 x_refsource_MISC
- https://github.com/neocotic/convert-svg/commit/2bbc498c5029238637206661dbac9e44d37d17c5 x_refsource_MISC
- https://github.com/neocotic/convert-svg/pull/87 x_refsource_MISC
- https://github.com/neocotic/convert-svg/issues/86 x_refsource_MISC