CVE-2021-27907
Apache Superset stored XSS on Dashboard markdown
Description
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.
How to fix CVE-2021-27907
To remediate CVE-2021-27907, upgrade the affected package to a fixed version below.
- —upgrade to 0.38.1 or later
- —upgrade to 0.38.1 or later
- —upgrade to 0.38.1 or later
Is CVE-2021-27907 being exploited?
Likely — EPSS is 86.4%, placing CVE-2021-27907 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (3)
- from 0, < 0.38.1
- from 0, < 0.38.1
- from 0, < 0.38.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |