Loading HuntDB...

GHSA-rwhh-6x83-84v6

GitHub Security Advisory

Cross-site Scripting in Apache superset

✓ GitHub Reviewed CRITICAL Has CVE

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

Affected Packages

PyPI apache-superset
Affected versions: 0 (fixed in 3.0.3)

Related CVEs

Key Information

GHSA ID
GHSA-rwhh-6x83-84v6
Published
January 23, 2024 3:30 PM
Last Modified
January 29, 2024 7:12 PM
CVSS Score
9.0 /10
Primary Ecosystem
PyPI
Primary Package
apache-superset
GitHub Reviewed
✓ Yes

Dataset

Last updated: July 27, 2025 6:35 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.