{"id":"CVE-2021-27907","aliases":["CVE-2021-27907","GHSA-w358-rj93-r5qv","BIT-SUPERSET-2021-27907","PYSEC-2021-127"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Superset stored XSS on Dashboard markdown","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.&#xa0;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.&#xa0;El código javascript será automáticamente ejecutado (XSS almacenado) cuando un usuario legítimo navega por la página dashboard.&#xa0;La vulnerabilidad es explotable creando una sección \"div\" e insertando en ella un elemento \"svg\" con código javascript","source":"nvd"}],"published":"2021-03-05T11:35:15.000Z","modified":"2026-09-08T08:48:19.565Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"Apache Superset","lastAffected":"0.38.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Superset","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.38.1"}],"ecosystem":"PyPI","package":"apache-superset","purl":"pkg:pypi/apache-superset","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.38.0"}],"vendor":"apache","product":"superset","cpe":"cpe:2.3:a:apache:superset:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.38.1"}],"ecosystem":"PyPI","package":"apache-superset","purl":"pkg:pypi/apache-superset","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.38.1"}],"ecosystem":"Bitnami","package":"superset","purl":"pkg:bitnami/superset","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread.html/r09293fb09f1d617f0d2180c42210e739e2211f8da9bc5c1873bea67a%40%3Cdev.superset.apache.org%3E","tags":["advisory","mailing-list","vendor-advisory","web","x-refsource-misc","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27907","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/advisories/GHSA-w358-rj93-r5qv","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/apache/superset","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-superset/PYSEC-2021-127.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r09293fb09f1d617f0d2180c42210e739e2211f8da9bc5c1873bea67a@%3Cdev.superset.apache.org%3E","tags":["web"],"sources":["ghsa","pysec"]}],"credits":["This issue was reported by Gianluca Veltri and Dario Castrogiovanni of Cuebiq"],"assigner":"apache","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-27907","url":"https://www.cve.org/CVERecord?id=CVE-2021-27907","licence":"CVE Terms of Use","modified":"2025-02-13T16:27:58.281Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w358-rj93-r5qv","url":"https://github.com/advisories/GHSA-w358-rj93-r5qv","licence":"CC-BY-4.0","modified":"2025-02-05T09:11:57.593Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-27907","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27907","licence":"Public domain","modified":"2026-06-17T03:45:35.670Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-127","url":"https://osv.dev/vulnerability/PYSEC-2021-127","licence":"CC-BY-4.0","modified":"2025-02-05T09:11:57.593Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-SUPERSET-2021-27907","url":"https://osv.dev/vulnerability/BIT-SUPERSET-2021-27907","licence":"Apache-2.0","modified":"2026-09-08T08:48:19.565Z"}],"updatedAt":"2026-11-25T22:58:00.157Z","epss":{"score":0.86393,"percentile":0.99735,"date":"2026-12-01T12:00:22.000Z"}}