# CVE-2021-27907: Apache Superset stored XSS on Dashboard markdown

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 86.4%, higher than 99% of CVEs (2026-12-01)
- Published: 2021-03-05T11:35:15.000Z
- Modified: 2026-09-08T08:48:19.565Z
- Also known as: GHSA-w358-rj93-r5qv, BIT-SUPERSET-2021-27907, PYSEC-2021-127
- Weaknesses: CWE-79
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Superset: from Apache Superset up to 0.38.0
- apache-superset (PyPI): before 0.38.1
- apache superset: up to 0.38.0
- superset (Bitnami): before 0.38.1

## Every score

- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://lists.apache.org/thread.html/r09293fb09f1d617f0d2180c42210e739e2211f8da9bc5c1873bea67a%40%3Cdev.superset.apache.org%3E> (advisory, mailing-list, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-27907> (advisory, web)
- <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)

## Sources

- CVE List: [CVE-2021-27907](https://www.cve.org/CVERecord?id=CVE-2021-27907), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-w358-rj93-r5qv](https://github.com/advisories/GHSA-w358-rj93-r5qv), CC-BY-4.0, modified 2025-02-05
- NVD: [CVE-2021-27907](https://nvd.nist.gov/vuln/detail/CVE-2021-27907), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-127](https://osv.dev/vulnerability/PYSEC-2021-127), CC-BY-4.0, modified 2025-02-05
- Bitnami Vulnerability Database: [BIT-SUPERSET-2021-27907](https://osv.dev/vulnerability/BIT-SUPERSET-2021-27907), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-27907 · Whole record: https://cve.day/CVE-2021-27907.json · Rebuilt by cve.day 2026-11-25T22:58:00.157Z
