PT-2021-17661 · Apache · Apache Superset

Dario Castrogiovanni

+1

·

Published

2021-03-05

·

Updated

2025-02-05

·

CVE-2021-27907

CVSS v2.0

5.5

Medium

VectorAV:N/AC:L/Au:S/C:P/I:P/A:N
Name of the Vulnerable Software and Affected Versions: Apache Superset versions up to and including 0.38.0
Description: The issue allows a malicious user to inject javascript code, executing unwanted actions in the context of the user's browser, by creating a Markdown component on a Dashboard page. This is achieved by creating a "div" section and embedding in it an "svg" element with javascript code. The injected javascript code will be automatically executed when a legitimate user visits the dashboard page, resulting in a Stored XSS attack.
Recommendations: For Apache Superset versions up to and including 0.38.0, consider disabling the Markdown component on Dashboard pages until a patch is available to prevent the injection of malicious javascript code. Restrict access to the Dashboard page to minimize the risk of exploitation. Avoid using the "div" section and "svg" element in the Markdown component until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-01878
BIT-SUPERSET-2021-27907
CVE-2021-27907
GHSA-W358-RJ93-R5QV
PYSEC-2021-127

Affected Products

Apache Superset