Loading...
Skip to main content

CVE-2023-46308 — Vulnerability in plotly.js — CVE Details

CRITICAL

plotly.js prototype pollution vulnerability

Published January 3, 2024Updated December 26, 2025Source: osv

Summary

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

Advisory Timeline

  • First published January 3, 2024 (1013 days ago).
  • Last revised December 26, 2025 — 723 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update plotly.js to 2.25.2 or later
npm install plotly.js@2.25.2
Composer
Update plotly/plotly.js to 2.25.2 or later
composer require "plotly/plotly.js:^2.25.2"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 2 ecosystems: npm (1), packagist (1).

PackageEcosystemAffectedFixed In
plotly.js
npm
All versions2.25.2
plotly/plotly.js
packagist
v1.23.2, v1.24.0, v1.24.1, v1.24.2 (+176 more)2.25.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-1321
    Prototype PollutionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Frequently Asked Questions

What is CVE-2023-46308?
plotly.js prototype pollution vulnerability This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2023-46308?
CVE-2023-46308 affects plotly.js and plotly/plotly.js. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-46308 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-wjc4-73q6-gv3m

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies