FlexViz: Cross-site scripting through a map style in a shared or imported dashboard specGHSA-f858-585q-v7xp
HIGHFix: flex-analytics/flexviz#105GHSA-f858-585q-v7xp is a high-severity (CVSS 8.2) vulnerability in flexviz. A fix is available for flexviz — see the affected versions and patch details below.
Real-World Exposure
flexvizReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
Impact
FlexViz 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.
FlexViz 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.
The 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.
Patches
FlexViz 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.
Workarounds
pip install flexviz==0.1.0b5
A more recent version can be used as well.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | flexviz | ≥ 0.1.0b1&&< 0.1.0b5 | 0.1.0b5pip install --upgrade 'flexviz==0.1.0b5' |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for flexviz, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update flexviz to 0.1.0b5 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-f858-585q-v7xp is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-f858-585q-v7xp in your dependencies?
Find it across PyPI, including transitive dependencies.