CVE-2021-27907
MEDIUM 5.4CVSS 3.1Apache Superset Stored XSS on Dashboard markdown
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.
- Published
- 5 Mar 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-superset-2021-27907GHSA-w358-rj93-r5qvPYSEC-2021-127
- Sources
- NVDJSONOSV GHSA-w358-rj93-r5qvJSONOSV PYSEC-2021-127JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | supersetcpe:2.3:a:apache:superset:*:*:*:*:*:*:*:* |
<= 0.38.0 | |
| OSV | PyPI | apache-superset | < 0.38.1 | 0.38.1 |
References
- https://lists.apache.org/thread.html/r09293fb09f1d617f0d2180c42210e739e2211f8da9bc5c1873bea67a%40%3Cdev.superset.apache.org%3E · Mailing List, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-27907 · ADVISORY
- https://github.com/advisories/GHSA-w358-rj93-r5qv · ADVISORY
- https://github.com/apache/superset · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-superset/PYSEC-2021-127.yaml · WEB
- https://lists.apache.org/thread.html/r09293fb09f1d617f0d2180c42210e739e2211f8da9bc5c1873bea67a@%3Cdev.superset.apache.org%3E · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 5 Mar 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Mar 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 May 2022)