CVE-2023-49657: Apache Superset: Stored XSS in Dashboard Title and Chart Title
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:
TALISMANCONFIG = { "contentsecuritypolicy": { "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'"], }, "contentsecuritypolicynoncein": ["script-src"], "forcehttps": False, "sessioncookiesecure": False, }
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2023-49657?
CVE-2023-49657 has been classified as a stored cross-site scripting (XSS) vulnerability which can be exploited by authenticated attackers.
How do I fix CVE-2023-49657?
To fix CVE-2023-49657, upgrade Apache Superset to version 3.0.3 or later.
Who is affected by CVE-2023-49657?
Users of Apache Superset versions prior to 3.0.3 who have create or update permissions on charts or dashboards are affected.
What type of attack does CVE-2023-49657 allow?
CVE-2023-49657 allows authenticated attackers to execute stored XSS attacks by inserting malicious scripts or HTML in charts and dashboards.
Is there a workaround for CVE-2023-49657?
There are no known workarounds for CVE-2023-49657; the best mitigation is to update to the fixed version.