CVE-2021-27907
JSON

5.4medium

Apache Superset stored XSS on Dashboard markdown

Severity
5.4medium CVSS:3.1 by NVD
Exploit likelihood
86.4% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-w358-rj93-r5qvBIT-SUPERSET-2021-27907PYSEC-2021-127

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.

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache Supersetfrom Apache Superset up to 0.38.0CVE List
apache-superset (PyPI)before 0.38.1GitHub Advisory Database, PyPA Advisory Database
apache supersetup to 0.38.0NVD
superset (Bitnami)before 0.38.1Bitnami Vulnerability Database

All scores

GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N
Bitnami Vulnerability Databasemedium rating

Classification

What each source says

CVE List

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.

NVD (es)

Apache Superset versiones hasta 0.38.0 incluyendo, permitió la creación de un componente Markdown en una página Dashboard para describir la información relacionada con el gráfico. Abusando de esta funcionalidad, un usuario malicioso podría inyectar código javascript ejecutando una acción no deseada en el contexto del navegador del usuario. El código javascript será automáticamente ejecutado (XSS almacenado) cuando un usuario legítimo navega por la página dashboard. La vulnerabilidad es explotable creando una sección "div" e insertando en ella un elemento "svg" con código javascript

References

Sources

SourceRecordLicence
CVE ListCVE-2021-27907 changed 2025-02-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-w358-rj93-r5qv changed 2025-02-05CC-BY-4.0
NVDCVE-2021-27907 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2021-127 changed 2025-02-05CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-SUPERSET-2021-27907 changed 2026-09-08Apache-2.0