—
PYSEC-2021-127
Quick fix
PYSEC-2021-127 — apache-superset: upgrade to the fixed version with the command below.
pip install --upgrade 'apache-superset>=0.38.1'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/apache-superset
Introduced in:
0Fixed in: 0.38.1Fix
pip install --upgrade 'apache-superset>=0.38.1'References
- https://lists.apache.org/thread.html/r09293fb09f1d617f0d2180c42210e739e2211f8da9bc5c1873bea67a%40%3Cdev.superset.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/r09293fb09f1d617f0d2180c42210e739e2211f8da9bc5c1873bea67a@%3Cdev.superset.apache.org%3E[WEB]
- https://github.com/advisories/GHSA-w358-rj93-r5qv[ADVISORY]