# CVE-2022-24278: Directory Traversal

- Severity: High 7.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.21%, higher than 83% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-10T20:05:32.272Z
- Modified: 2026-09-10T03:49:49.167Z
- Also known as: GHSA-5f47-rcg5-9m24, SNYK-JS-CONVERTSVGCORE-2859830
- Weaknesses: CWE-22
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- convert-svg-core: from unspecified before 0.6.4
- convert-svg-core (npm): before 0.6.4
- convert-svg_project convert-svg: before 0.6.4

## Every score

- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/neocotic/convert-svg/issues/86> (exploit, issue-tracking, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JS-CONVERTSVGCORE-2859830> (third-party-advisory, web)
- <https://github.com/neocotic/convert-svg/commit/2bbc498c5029238637206661dbac9e44d37d17c5> (patch, third-party-advisory, web)
- <https://github.com/neocotic/convert-svg/pull/87> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24278> (advisory)
- <https://github.com/neocotic/convert-svg> (package)

## Sources

- CVE List: [CVE-2022-24278](https://www.cve.org/CVERecord?id=CVE-2022-24278), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-5f47-rcg5-9m24](https://github.com/advisories/GHSA-5f47-rcg5-9m24), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-24278](https://nvd.nist.gov/vuln/detail/CVE-2022-24278), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24278 · Whole record: https://cve.day/CVE-2022-24278.json · Rebuilt by cve.day 2026-11-25T22:58:12.216Z
