Live threats

All CVEs / Apache

CVE-2021-27907Apache Superset

Medium 5.4 High EPSS

Priority
41
CVSS 3.1
5.4
EPSS
86.4%
probability of exploitation in 30 days · percentile 100
Auth required
Yes
Published
Mar 5, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Superset.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI apache-superset < 0.38.1 0.38.1 pip install "apache-superset>=0.38.1"
PyPI apache-superset < 0.38.1 0.38.1 pip install "apache-superset>=0.38.1"

Per OSV / GitHub Advisories (GHSA-w358-rj93-r5qv, PYSEC-2021-127). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachesuperset≤ 0.38.0

Official sources

References

Links published by the sources. Open them with care.