Advisory

GHSA-w358-rj93-r5qv

Also known as: BIT-superset-2021-27907, CVE-2021-27907, PYSEC-2021-127

Summary

Apache Superset Stored XSS on Dashboard markdown

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 22:29 UTC
Modified
2025-02-05 09:11 UTC

Affected packages and fixes

apache-superset

PyPI · All systems

Affected

  • introduced 0, fixed 0.38.1 (ecosystem)

Fixed versions

0.38.1

Fix

  • Fixed version 0.38.1
    pip install --upgrade apache-superset==0.38.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences