Lucene search

K
githubGitHub Advisory DatabaseGHSA-RWHH-6X83-84V6
HistoryJan 23, 2024 - 3:30 p.m.

Cross-site Scripting in Apache superset

2024-01-2315:30:58
CWE-79
GitHub Advisory Database
github.com
23
apache superset
cross-site scripting
stored xss
vulnerability
version 2.x
content security policy
talisman_config

CVSS3

9.6

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

AI Score

5.3

Confidence

High

EPSS

0

Percentile

10.7%

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 configurations

Vulners
Node
apachesupersetRange<3.0.3
VendorProductVersionCPE
apachesuperset*cpe:2.3:a:apache:superset:*:*:*:*:*:*:*:*

CVSS3

9.6

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

AI Score

5.3

Confidence

High

EPSS

0

Percentile

10.7%

Related for GHSA-RWHH-6X83-84V6