CVE-2023-49657: Cross-site Scripting in Apache superset

CVE-2023-49657 · Severity: critical · CVSS 9.6 · Published 2024-01-23

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, }

Technologies: apache-superset (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2023-49657 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2023-49657 being exploited in the wild.
How severe is CVE-2023-49657?
Critical severity, with a CVSS score of 9.6, published 23 January 2024.
Which products and versions are affected?
apache-superset (PyPI) < 3.0.3, ECOSYSTEM:introduced=0,fixed=3.0.3.
Is there a fix for CVE-2023-49657?
Yes. apache-superset (PyPI): upgrade to 3.0.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2023-49657?
Check whether you run apache-superset (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • apache-superset (PyPI): upgrade to 3.0.3 or later
    pip install "apache-superset>=3.0.3"

Affected products

  • apache-superset (PyPI) < 3.0.3, ECOSYSTEM:introduced=0,fixed=3.0.3

Identifiers

  • CVE-2023-49657
  • GHSA-rwhh-6x83-84v6
  • PYSEC-2026-280

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.