PYSEC-2026-280
Cross-site Scripting in Apache superset
Quick fix
PYSEC-2026-280 — apache-superset: upgrade to the fixed version with the command below.
pip install --upgrade 'apache-superset>=3.0.3'Details
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, }
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 3.0.3pip install --upgrade 'apache-superset>=3.0.3'References
- https://nvd.nist.gov/vuln/detail/CVE-2023-49657[ADVISORY]
- https://github.com/apache/superset[PACKAGE]
- https://lists.apache.org/thread/wjyvz8om9nwd396lh0bt156mtwjxpsvx[WEB]
- http://www.openwall.com/lists/oss-security/2024/01/23/5[WEB]
- https://pypi.org/project/apache-superset[PACKAGE]
- https://github.com/advisories/GHSA-rwhh-6x83-84v6[ADVISORY]