{"id":"GHSA-f858-585q-v7xp","summary":"FlexViz: Cross-site scripting through a map style in a shared or imported dashboard spec","details":"### Impact\n\nFlexViz 0.1.0b1 to 0.1.0b4 load plotly.js 3.0.0, which bundles maplibre-gl 4.7.1. This maplibre-gl version has CVE-2026-85061: its attribution sanitizer can let an HTML event handler through.\n\nFlexViz passes the layout of each figure in a spec to Plotly unchanged. A crafted spec with a map figure can set an inline map style whose source attribution holds HTML. When a person opens such a spec, for example through a `/view` share URL or the Import button, script runs in their browser on the origin of the FlexViz server. No click is necessary.\n\nThe FlexViz server has no authentication. So the script can query the data sources registered on that server and send the results elsewhere. The attacker only needs the victim to open a link to a FlexViz server that the victim can reach, also on localhost or a trusted network.\n\n### Patches\n\nFlexViz 0.1.0b5 loads plotly.js 4.1.1, which bundles maplibre-gl 6.9.0 with the fix. Upgrade to 0.1.0b5 or later.\n\n### Workarounds\n\n```py\npip install flexviz==0.1.0b5\n```\n\nA more recent version can be used as well.","modified":"2026-12-01T17:45:07.457951747Z","published":"2026-12-01T17:41:14Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-12-01T17:41:14Z","nvd_published_at":null,"cwe_ids":["CWE-1395","CWE-79"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/flex-analytics/flexviz/security/advisories/GHSA-f858-585q-v7xp"},{"type":"WEB","url":"https://github.com/maplibre/maplibre-gl-js/security/advisories/GHSA-jrc7-96c5-q579"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85061"},{"type":"WEB","url":"https://github.com/flex-analytics/flexviz/pull/105"},{"type":"WEB","url":"https://github.com/flex-analytics/flexviz/commit/7476be755794e30ab0b40bebf3c84d8c37ab835d"},{"type":"PACKAGE","url":"https://github.com/flex-analytics/flexviz"},{"type":"WEB","url":"https://github.com/flex-analytics/flexviz/releases/tag/v0.1.0b5"}],"affected":[{"package":{"name":"flexviz","ecosystem":"PyPI","purl":"pkg:pypi/flexviz"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.0b1"},{"fixed":"0.1.0b5"}]}],"versions":["0.1.0b1","0.1.0b2","0.1.0b3","0.1.0b4"],"database_specific":{"last_known_affected_version_range":"\u003c= 0.1.0b4","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-f858-585q-v7xp/GHSA-f858-585q-v7xp.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"}]}