Cross-site Scripting in Apache superset
Critical9.6CVE-2023-49657 · Published Jan 23, 2024 · updated Jun 29, 2026
A stored cross-site scripting (XSS) vulnerability exists in Apache Superset before 3.0.3. An authenticated attacker with create/update permissions on charts or dashboards could store a script or add a specific HTML snippet that would act as a stored XSS. For 2.X versions, users should change their config to include: TALISMAN_CONFIG = { "content_security_policy": { "base-uri": ["'self'"], "default-src": ["'self'"], "img-src": ["'self'", "blob:", "data:"], "worker-src": ["'self'", "blob:"], "connect-src": [ "'self'", " https://api.mapbox.com" https://api.mapbox.com" ;, " https://events.mapbox.com" https://events.mapbox.com" ;, ], "object-src": "'none'", "style-src": [ "'self'", "'unsafe-inline'", ], "script-src": ["'self'", "'strict-dynamic'"], }, "content_security_policy_nonce_in": ["script-src"], "force_https": False, "session_cookie_secure": False, }
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| apache-superset PyPI | < 3.0.3 | 3.0.3 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-79
- Also known as
- BIT-superset-2023-49657, CVE-2023-49657, PYSEC-2026-280
More Apache Superset advisories
All Apache Superset| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Feb 282024 | Apache Superset: Improper Neutralization of custom SQL on embedded context | Medium4.3 | 3.0.4+1 more |
| Feb 282024 | Apache Superset: Improper validation of SQL statements allows for unauthorized access to data | Medium4.9 | 3.0.4+1 more |
| Feb 282024 | Apache Superset: Improper error handling on alerts | Medium4.3 | 3.0.4+1 more |
| Dec 192023 | Apache Superset uncontrolled resource consumption | Medium6.5 | 2.1.2+1 more |
| Dec 192023 | Apache Superset incorrect write permissions vulnerability | High7.7 | 2.1.3+1 more |
| Dec 192023 | Apache Superset SQL injection vulnerability | Medium6.5 | 2.1.3+1 more |