{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-49657","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","state":"PUBLISHED","assignerShortName":"apache","dateReserved":"2023-11-28T21:39:07.846Z","datePublished":"2024-01-23T15:06:59.901Z","dateUpdated":"2025-06-17T21:19:26.476Z"},"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Apache Superset","vendor":"Apache Software Foundation","versions":[{"lessThan":"3.0.3","status":"affected","version":"0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"reporter","value":"Nick Barnes, Praetorian Security Inc."},{"lang":"en","type":"reporter","value":"Amit Laish – GE Vernova"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<span style=\"background-color: rgb(255, 255, 255);\">A stored cross-site scripting (XSS) vulnerability exists in Apache Superset before 3.0.3.&nbsp;</span>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>&nbsp; &nbsp; \"content_security_policy\": {<br>&nbsp; &nbsp; &nbsp; &nbsp; \"base-uri\": [\"'self'\"],<br>&nbsp; &nbsp; &nbsp; &nbsp; \"default-src\": [\"'self'\"],<br>&nbsp; &nbsp; &nbsp; &nbsp; \"img-src\": [\"'self'\", \"blob:\", \"data:\"],<br>&nbsp; &nbsp; &nbsp; &nbsp; \"worker-src\": [\"'self'\", \"blob:\"],<br>&nbsp; &nbsp; &nbsp; &nbsp; \"connect-src\": [<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"'self'\",<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"<a target=\"_blank\" rel=\"nofollow\" href=\"https://api.mapbox.com&quot;\">https://api.mapbox.com\"</a>;,<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"<a target=\"_blank\" rel=\"nofollow\" href=\"https://events.mapbox.com&quot;\">https://events.mapbox.com\"</a>;,<br>&nbsp; &nbsp; &nbsp; &nbsp; ],<br>&nbsp; &nbsp; &nbsp; &nbsp; \"object-src\": \"'none'\",<br>&nbsp; &nbsp; &nbsp; &nbsp; \"style-src\": [<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"'self'\",<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \"'unsafe-inline'\",<br>&nbsp; &nbsp; &nbsp; &nbsp; ],<br>&nbsp; &nbsp; &nbsp; &nbsp; \"script-src\": [\"'self'\", \"'strict-dynamic'\"],<br>&nbsp; &nbsp; },<br>&nbsp; &nbsp; \"content_security_policy_nonce_in\": [\"script-src\"],<br>&nbsp; &nbsp; \"force_https\": False,<br>&nbsp; &nbsp; \"session_cookie_secure\": False,<br>}<br><br>"}],"value":"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.\n\nFor 2.X versions, users should change their config to include:\n\nTALISMAN_CONFIG = {\n    \"content_security_policy\": {\n        \"base-uri\": [\"'self'\"],\n        \"default-src\": [\"'self'\"],\n        \"img-src\": [\"'self'\", \"blob:\", \"data:\"],\n        \"worker-src\": [\"'self'\", \"blob:\"],\n        \"connect-src\": [\n            \"'self'\",\n            \" https://api.mapbox.com\" https://api.mapbox.com\" ;,\n            \" https://events.mapbox.com\" https://events.mapbox.com\" ;,\n        ],\n        \"object-src\": \"'none'\",\n        \"style-src\": [\n            \"'self'\",\n            \"'unsafe-inline'\",\n        ],\n        \"script-src\": [\"'self'\", \"'strict-dynamic'\"],\n    },\n    \"content_security_policy_nonce_in\": [\"script-src\"],\n    \"force_https\": False,\n    \"session_cookie_secure\": False,\n}\n\n"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.6,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","shortName":"apache","dateUpdated":"2024-01-29T08:35:38.250Z"},"references":[{"tags":["vendor-advisory"],"url":"https://lists.apache.org/thread/wjyvz8om9nwd396lh0bt156mtwjxpsvx"}],"source":{"discovery":"UNKNOWN"},"title":"Apache Superset: Stored XSS in Dashboard Title and Chart Title","x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T22:01:25.916Z"},"title":"CVE Program Container","references":[{"tags":["vendor-advisory","x_transferred"],"url":"https://lists.apache.org/thread/wjyvz8om9nwd396lh0bt156mtwjxpsvx"}]},{"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2023-49657","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-01-23T16:03:28.369888Z"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-06-17T21:19:26.476Z"}}]}}