Vulnerabilities · 2023 · Apache
CVE-2023-49657
Apache Superset vulnerability
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 products
Superset. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Superset runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- lists.apache.org/thread/wjyvz8om9nwd396lh0bt156mtwjxpsvx · Mitigation
- nvd.nist.gov/vuln/detail/CVE-2023-49657
- www.openwall.com/lists/oss-security/2024/01/23/5
- github.com/pypa/advisory-database/tree/main/vulns/apache-superset/PYSEC-2026-280.yaml
- pypi.org/project/apache-superset
- github.com/advisories/GHSA-rwhh-6x83-84v6
- nvd.nist.gov/vuln/detail/CVE-2023-49657
- cve.org/CVERecord?id=CVE-2023-49657
More vulnerabilities in Apache products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.