{"schema_version":"1.9.0","id":"GHSA-w358-rj93-r5qv","published":"2022-05-24T22:29:00Z","modified":"2025-02-05T09:11:57.593021Z","aliases":["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.","affected":[{"package":{"name":"apache-superset","ecosystem":"PyPI","purl":"pkg:pypi/apache-superset"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.38.1"}]}],"versions":["0.34.0","0.34.1","0.35.1","0.35.2","0.36.0","0.37.0","0.37.1","0.37.2","0.38.0"],"database_specific":{"last_known_affected_version_range":"<= 0.38.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-w358-rj93-r5qv/GHSA-w358-rj93-r5qv.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27907"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-w358-rj93-r5qv"},{"type":"PACKAGE","url":"https://github.com/apache/superset"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-superset/PYSEC-2021-127.yaml"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r09293fb09f1d617f0d2180c42210e739e2211f8da9bc5c1873bea67a%40%3Cdev.superset.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r09293fb09f1d617f0d2180c42210e739e2211f8da9bc5c1873bea67a@%3Cdev.superset.apache.org%3E"}],"database_specific":{"cwe_ids":["CWE-79"],"github_reviewed":true,"github_reviewed_at":"2022-06-22T18:13:26Z","nvd_published_at":"2021-03-05T12:15:00Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}