CVE-2025-59038 Prebid.js NPM package briefly compromised

High 8.6 Published Updated

Attackers injected malicious code into a compromised npm package to redirect cryptocurrency transactions to their wallets.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-59038?

CVE-2025-59038 is a high-severity vulnerability in Prebid.js, published on 9 Sep 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Prebid.js is a free and open source library for publishers to quickly implement header bidding. NPM users of prebid 10.9.2 may have been briefly compromised by a malware campaign. The malicious code attempts to redirect crypto transactions on the site to the attackers' wallet. Version 10.10.0 fixes the issue. As a workaround, it is also possible to downgrade to 10.9.1.

Weakness: CWE-506

Which versions are affected by CVE-2025-59038?

How do I fix CVE-2025-59038?

Upgrade to a fixed version.

Is CVE-2025-59038 being exploited?

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

Sources

Is CVE-2025-59038 in your software?

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

Check your SBOMs for free