Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2025-59038 — prebid.js

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-506 NVD
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Malicious code in prebid.js (npm)

Source: ghsa-malware

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Source: google-open-source-security

This package was compromised and malicious code added as part of a phishing

campaign.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must actively cooperate. Rated impact: confidentiality high, integrity high, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Attack requirements: None — no deployment-specific condition has to hold.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: Active — the victim has to cooperate with the attack.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: High — total loss, or loss the attacker controls.
  • Availability impact: High — total loss, or loss the attacker controls.

Weakness class

CVE-2025-59038 is classified as CWE-506: Embedded Malicious Code. The product contains code that appears to be malicious in nature.

Affected software

CVE-2025-59038 is recorded against 2 packages.

  • prebid.js
  • unknown

Timeline and source

Published on 9 September 2025 and last revised on 12 September 2025. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

github.com (Advisory)
github.com (Web)
www.aikido.dev (Article)
www.bleepingcomputer.com (Article)
snyk.io (Article)

Same weakness in other software

These advisories are the same class of weakness (CWE-506: Embedded Malicious Code) in other software:

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CWE CWE-506
Public Exploit ✅ No
Source NVD
Published 2025-09-09
Updated 2026-08-20
Modified 2025-09-12
Fix URL N/A

Affected Packages

Software From version Fixed in
prebid.js — —
unknown — —

Site Security Check

Is prebid.js part of your stack?

CVE-2025-59038 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2025
✓