CVE-2021-27907 json
Apache Superset stored XSS on Dashboard markdown
published 2021-03-05 5 y ago modified 2026-09-08 2 mo ago also BIT-superset-2021-27907 , EUVD-2021-0019 , GHSA-w358-rj93-r5qv , PYSEC-2021-127
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 86.4%
- EPSS 86.4% chance of exploitation in 30 days, percentile 99.7%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi apache-superset 0.38.1
- bitnami superset 0.38.1
Exploit prediction
86.39% chance of exploitation in the next 30 days, higher than 99.7% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| OSV | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | apache-superset | <0.38.1 |
0.38.1 |
| bitnami | superset | <0.38.1 |
0.38.1 |
Affected products
- Apache Software Foundation Apache Superset
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
lists.apache.org
/thread.html/r09293fb09f1d617f0d2180c42210e739e2211f8da9bc5c1873bea67a%40%3Cdev.superset.apache.org%3E
mailing-list, web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-27907
advisory, web
-
github.com
/advisories/GHSA-w358-rj93-r5qv
advisory
-
github.com
/apache/superset
package
-
github.com
/pypa/advisory-database/tree/main/vulns/apache-superset/PYSEC-2021-127.yaml
web
-
lists.apache.org
/thread.html/r09293fb09f1d617f0d2180c42210e739e2211f8da9bc5c1873bea67a@%3Cdev.superset.apache.org%3E
web
Sources
- CVE List CVE-2021-27907
- GitHub Advisory GHSA-w358-rj93-r5qv
- NVD CVE-2021-27907
- OSV BIT-superset-2021-27907
- OSV PYSEC-2021-127
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.