Advisory

PYSEC-2021-127

Also known as: BIT-superset-2021-27907, CVE-2021-27907, GHSA-w358-rj93-r5qv

Summary

The record has no summary.

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

Not rated by the source.

Dates

Published
2021-03-05 12:15 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: PyPA Advisory Database · CC BY 4.0

Sources & licences