Vulnerabilities in pkg:pypi/flexviz

PACKAGE
Advisory Summary

GHSA-f858-585q-v7xp is a HIGH (CVSS 8.2) cross-site scripting vulnerability (CWE-1395: Dependency on Vulnerable Third-Party Component) affecting FlexViz libraries in the PyPI ecosystem. The issue involves cross-site scripting through a map style in a shared or imported dashboard spec. Remediation is available by upgrading affected packages to version 0.1.0b5.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/flexviz

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/flexviz. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-f858-585q-v7xp - HIGH FlexViz: Cross-site scripting through a map style in a shared or imported dashboard spec

GHSA-f858-585q-v7xp at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-f858-585q-v7xp
Severity HIGH
CVSS v3.1 Base Score 8.2
CWE Classification CWE-1395: Dependency on Vulnerable Third-Party Component
Affected Product FlexViz
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 8.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity Low (I:L)
Availability None (A:N)

How to Fix GHSA-f858-585q-v7xp

To remediate this vulnerability, upgrade all affected FlexViz dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

flexviz fixed: 0.1.0b5
pip install flexviz>=0.1.0b5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show flexviz

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-f858-585q-v7xp, inspect your installed packages using pip:

pip show flexviz

Analyze the terminal output to locate any version of FlexViz in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.0b5), your application is affected.

Note: The pip show flexviz command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1395: Dependency on Vulnerable Third-Party Component, where the product has a dependency on a third-party component that contains one or more known vulnerabilities. In FlexViz, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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 ```py pip install flexviz==0.1.0b5 ``` A more recent version can be used as well.

GHSA-f858-585q-v7xp Affected FlexViz Versions

1 component(s)
Fixed Versions:
0.1.0b5
Product / Package Ecosystem Affected Versions Fixed Version
flexviz
PyPI
≥ 0.1.0b1
< 0.1.0b5
0.1.0b5

References

Frequently Asked Questions

What is GHSA-f858-585q-v7xp?
GHSA-f858-585q-v7xp is a security vulnerability in FlexViz involving Cross-site scripting through a map style in a shared or imported dashboard spec under CWE-1395: Dependency on Vulnerable Third-Party Component.
Which FlexViz versions are affected?
Affected versions include releases prior to 0.1.0b5 across affected packages: flexviz.
What version fixes GHSA-f858-585q-v7xp?
Upgrading to 0.1.0b5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is flexviz affected?
Yes, flexviz is affected in releases prior to 0.1.0b5. Upgrade your dependency to 0.1.0b5 or later.
What is the CVSS score of GHSA-f858-585q-v7xp?
GHSA-f858-585q-v7xp has a CVSS v3.1 base score of 8.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N.
What CWE is associated with GHSA-f858-585q-v7xp?
GHSA-f858-585q-v7xp is classified under CWE-1395: Dependency on Vulnerable Third-Party Component (The product has a dependency on a third-party component that contains one or more known vulnerabilities.).
How can I check PyPI dependencies for GHSA-f858-585q-v7xp?
Run the dependency tree command: 'pip show flexviz'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-f858-585q-v7xp",
  "modified" : "2026-12-01T17:41:14Z",
  "published" : "2026-12-01T17:41:14Z",
  "aliases" : [ ],
  "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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "flexviz"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.1.0b1"
      }, {
        "fixed" : "0.1.0b5"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.1.0b4"
    }
  } ],
  "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"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1395", "CWE-79" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-12-01T17:41:14Z",
    "nvd_published_at" : null
  }
}