Apache SupersetGHSA-w358-rj93-r5qv
Apache Superset Stored XSS on Dashboard markdown
Medium5.4CVE-2021-27907 · Published May 24, 2022 · updated Feb 5, 2025
Apache Superset up to and including 0.38.0 allowed the creation of a Markdown component on a Dashboard page for describing chart's related information. Abusing this functionality, a malicious user could inject javascript code executing unwanted action in the context of the user's browser. The javascript code will be automatically executed (Stored XSS) when a legitimate user surfs on the dashboard page. The vulnerability is exploitable creating a “div” section and embedding in it a “svg” element with javascript code.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| apache-superset PyPI | < 0.38.1 | 0.38.1 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-79
- Also known as
- BIT-superset-2021-27907, CVE-2021-27907, PYSEC-2021-127
- nvd.nist.gov/vuln/detail/CVE-2021-27907
- github.com/advisories/GHSA-w358-rj93-r5qv
- github.com/apache/superset
- github.com/pypa/advisory-database/tree/main/vulns/apache-superset/PYSEC-2021-127.yaml
- lists.apache.org/thread.html/r09293fb09f1d617f0d2180c42210e739e2211f8da9bc5c1873bea67a%40%3Cdev.superset.apache.org%3E
- lists.apache.org/thread.html/r09293fb09f1d617f0d2180c42210e739e2211f8da9bc5c1873bea67a@%3Cdev.superset.apache.org%3E
More Apache Superset advisories
All Apache Superset| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| May 242022 | Apache Superset OS Command Injection | High8.8 | 0.37.1 |
| May 242022 | Improper Encoding or Escaping of Output in Apache Superset | High6.5 | 1.3.2 |
| May 242022 | Apache Superset allowed for database connections password leak for authenticated users | High6.5 | 1.3.2 |
| May 242022 | Apache Superset Cross-site Scripting (XSS) vulnerability on the Explore page | Medium5.4 | 1.2.0 |
| May 242022 | Apache Superset SQL Injection when template processing is enabled | High8.8 | 1.3.1 |
| Apr 142022 | SQL injection in apache-superset | Critical9.8 | 1.4.2 |