CVE-2023-49657
Severity CVSS v4.0:
Pending analysis
Type:
CWE-79
Cross-Site Scripting (XSS)
Publication date:
23/01/2024
Last modified:
29/01/2024
Description
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.<br />
<br />
For 2.X versions, users should change their config to include:<br />
<br />
TALISMAN_CONFIG = {<br />
"content_security_policy": {<br />
"base-uri": ["&#39;self&#39;"],<br />
"default-src": ["&#39;self&#39;"],<br />
"img-src": ["&#39;self&#39;", "blob:", "data:"],<br />
"worker-src": ["&#39;self&#39;", "blob:"],<br />
"connect-src": [<br />
"&#39;self&#39;",<br />
" https://api.mapbox.com" https://api.mapbox.com" ;,<br />
" https://events.mapbox.com" https://events.mapbox.com" ;,<br />
],<br />
"object-src": "&#39;none&#39;",<br />
"style-src": [<br />
"&#39;self&#39;",<br />
"&#39;unsafe-inline&#39;",<br />
],<br />
"script-src": ["&#39;self&#39;", "&#39;strict-dynamic&#39;"],<br />
},<br />
"content_security_policy_nonce_in": ["script-src"],<br />
"force_https": False,<br />
"session_cookie_secure": False,<br />
}<br />
<br />
Impact
Base Score 3.x
5.40
Severity 3.x
MEDIUM
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:apache:superset:*:*:*:*:*:*:*:* | 3.0.3 (excluding) |
To consult the complete list of CPE names with products and versions, see this page