Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. plotly/plotly.js
  4. ›
  5. CVE-2023-46308

CVE-2023-46308: plotly.js prototype pollution vulnerability

January 3, 2024 (updated December 26, 2025)

In Plotly plotly.js before 2.25.2, plot API calls have a risk of proto being polluted in expandObjectPaths or nestedProperty.

References

  • github.com/advisories/GHSA-wjc4-73q6-gv3m
  • github.com/plotly/plotly.R/issues/2463
  • github.com/plotly/plotly.js
  • github.com/plotly/plotly.js/commit/02498404c8ad7a3395191e65694fb142a37b0fe9
  • github.com/plotly/plotly.js/commit/5efd2a1f07a418b230a5626fc6c1c7929c47949d
  • github.com/plotly/plotly.js/releases/tag/v2.25.2
  • nvd.nist.gov/vuln/detail/CVE-2023-46308
  • plotly.com/javascript

Code Behaviors & Features

Detect and mitigate CVE-2023-46308 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.25.2

Fixed versions

  • 2.25.2

Solution

Upgrade to version 2.25.2 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

packagist/plotly/plotly.js/CVE-2023-46308.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:11 +0000.