CVE-2021-27907
MediumApache Superset Stored XSS on Dashboard markdown
Published May 24, 2022 · Updated Sep 8, 2026 · Also known as BIT-superset-2021-27907, GHSA-w358-rj93-r5qv, PYSEC-2021-127
Key Facts
Patch immediately- CVE-2021-27907 is a medium-severity vulnerability (CVSS 5.4 v3.1) affecting Superset (Apache), Apache Superset (pypi).
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 86% probability of exploitation in the next 30 days.
- Fixed versions are available, including Apache Superset <=0.38.0, Apache Superset 0.38.1, Superset 0.38.1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
5.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS (30-day exploit likelihood)
86%
Higher than 99.7% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2021-27907 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
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 Products
4 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| SupersetApache | See advisory | 0.38.0 |
| Apache Supersetpypi | >= Apache Superset | 0.38.1 |
Patched Releases
Apache Superset
<=0.38.0, 0.38.1
Superset
0.38.1
Timeline
Publicly disclosed
May 24, 2022
Last updated
Sep 8, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- advisoryGHSA advisory
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-27907
- articlehttps://github.com/pypa/advisory-database/tree/main/vulns/apache-superset/PYSEC-2021-127.yaml
- articlehttps://lists.apache.org/thread.html/r09293fb09f1d617f0d2180c42210e739e2211f8da9bc5c1873bea67a@%3Cdev.superset.apache.org%3E
- article[superset-dev] 20210305 CVE-2021-27907: Apache Superset stored XSS on Dashboard markdown
FAQ
Common Questions.
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.
Affected: Superset (Apache); Apache Superset (pypi) versions >= Apache Superset. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Apache Superset <=0.38.0, Apache Superset 0.38.1, Superset 0.38.1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2021-27907 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo