SB2021030603 - XSS via SVG file in Apache Superset
Published: March 6, 2021
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Dangerous file upload (CVE-ID: CVE-2021-27907)
CWE-ID: CWE-434 - Unrestricted Upload of File with Dangerous Type
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear
The vulnerability allows a remote user to perform XSS attacks.
The vulnerability exists due to insufficient validation of file during file upload. A remote user can upload a malicious .svg file and execute arbitrary JavaScript code in victim's browser in security context of the website.
Remediation
Install update from vendor's website.