CVE-2023-46308 plotly.js prototype pollution vulnerability

Critical 9.8 Published Updated

Prototype pollution in plotly.js allows attackers to manipulate object prototypes, potentially leading to code execution or security bypasses.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-46308?

CVE-2023-46308 is a critical vulnerability in n/a, published on 3 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Weakness: CWE-1321

Which versions are affected by CVE-2023-46308?

5 open source packages ship an affected version, including plotly/plotly.js, plotly and plotly.js. It affects 1 product.

PackageAffectedFixed in
plotly/plotly.js PackagistAll versions2.25.2
plotly/plotly.js PackagistAll versions2.25.2
plotly CRANFrom 2.0.24.12.0
plotly.js npmAll versions2.25.2
plotly.js npmAll versions2.25.2

Products include Plotly Plotly.js.

How do I fix CVE-2023-46308?

Upgrade plotly/plotly.js to 2.25.2 or later.

Is CVE-2023-46308 being exploited?

There is no known exploitation of CVE-2023-46308 in the wild and no public exploit code.

Sources

Also known as GHSA-wjc4-73q6-gv3m, RSEC-2025-1, openSUSE-SU-2024:13607-1.

Is CVE-2023-46308 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free