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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-03-05 · Modified: 2025-02-13
- Aliases: GHSA-w358-rj93-r5qv, BIT-superset-2021-27907, PYSEC-2021-127
- Record: https://cvemate.com/vulnerability/CVE-2021-27907 · JSON: https://cvemate.com/vulnerability/CVE-2021-27907/json

## Description

```text
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.
```

## Signals

- CVSS: 5.4 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- EPSS: 86.393%, percentile 99.734%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache superset: ≥ Apache Superset, ≤ 0.38.0
- apache superset: ≤ 0.38.0
- PyPI apache-superset (PyPI): \< 0.38.1

## References

- <https://lists.apache.org/thread.html/r09293fb09f1d617f0d2180c42210e739e2211f8da9bc5c1873bea67a%40%3Cdev.superset.apache.org%3E>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-27907>
- <https://github.com/advisories/GHSA-w358-rj93-r5qv>
- <https://github.com/apache/superset>
- <https://github.com/pypa/advisory-database/tree/main/vulns/apache-superset/PYSEC-2021-127.yaml>
- <https://lists.apache.org/thread.html/r09293fb09f1d617f0d2180c42210e739e2211f8da9bc5c1873bea67a@%3Cdev.superset.apache.org%3E>

---

Data as of 2026-12-05T09:43:52.392Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
