Vulnerability CVE-2022-24278


Published: 2022-06-10

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.

Type:

CWE-22

(Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'))

CVSS2 => (AV:N/AC:L/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
7.5/10
6.4/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Convert-svg project -> Convert-svg 

 References:
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

Copyright 2024, cxsecurity.com

 

Back to Top