A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-59038

CVE-2025-59038: Prebid.js RCE Vulnerability

CVE-2025-59038 is a remote code execution flaw in Prebid.js that redirects crypto transactions to attackers' wallets. This post covers the malware campaign, technical details, affected versions, and mitigation steps.

Updated: May 19, 2026

CVE-2025-59038 Overview

CVE-2025-59038 affects Prebid.js, an open source header bidding library used by publishers to manage programmatic advertising. The NPM-distributed version 10.9.2 was briefly compromised through a software supply chain attack. The malicious code injected into the package attempts to redirect cryptocurrency transactions on affected sites to attacker-controlled wallets. The maintainers released version 10.10.0 to remediate the issue. This vulnerability is classified as embedded malicious code [CWE-506] and falls under the broader npm supply chain compromise that impacted multiple JavaScript packages.

Critical Impact

Publishers using the compromised Prebid.js 10.9.2 package risk silent redirection of cryptocurrency transactions from site visitors to attacker wallets, with high confidentiality, integrity, and availability impact on browser sessions.

Affected Products

  • Prebid.js version 10.9.2 distributed via NPM
  • Web publishers integrating the compromised package into client-side bundles
  • Site visitors interacting with cryptocurrency transactions on affected publisher sites

Discovery Timeline

  • 2025-09-09 - CVE-2025-59038 published to the National Vulnerability Database
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-59038

Vulnerability Analysis

The vulnerability stems from a supply chain compromise of the Prebid.js NPM package, not a flaw in the library's source logic. Attackers published a tainted 10.9.2 build containing embedded malicious JavaScript designed to manipulate cryptocurrency wallet interactions in the browser. The campaign is tied to the broader npm chalk and debug package compromise documented by Sonatype. Because Prebid.js executes in the client-side context of publisher websites, the injected code runs with full DOM access on every page that loads the library.

Root Cause

The root cause is the inclusion of attacker-controlled malicious code in a trusted dependency [CWE-506]. A publishing account or release pipeline associated with the affected npm packages was abused to push a backdoored build. Consumers pulling prebid@10.9.2 from the registry received the trojanized artifact through normal npm install operations.

Attack Vector

The attack requires user interaction on a site that loads the compromised script. When a visitor initiates a cryptocurrency transaction, the malicious payload intercepts wallet calls and rewrites destination addresses to attacker-owned wallets. The injection acts as a clipper-style threat: it monitors for crypto-related API calls or DOM elements, swaps target addresses transparently, and surfaces no error to the victim. See the Prebid GitHub Security Advisory and the Sonatype analysis of the npm supply chain attack for technical details on the injected payload.

Detection Methods for CVE-2025-59038

Indicators of Compromise

  • Presence of prebid@10.9.2 in package-lock.json, yarn.lock, or node_modules manifests
  • Outbound browser requests to unfamiliar wallet addresses or domains tied to the npm chalk/debug compromise cluster
  • Unexpected modifications to wallet address strings in client-side cryptocurrency transaction flows
  • Build artifacts or CDN-hosted bundles containing the compromised Prebid.js source

Detection Strategies

  • Audit dependency trees with npm ls prebid and CI/CD SBOM tooling to flag the 10.9.2 version.
  • Compare hashes of deployed prebid.js bundles against the official 10.10.0 release artifacts.
  • Inspect production JavaScript bundles for obfuscated wallet-address regex patterns or window.ethereum hooking consistent with the published campaign IOCs.

Monitoring Recommendations

  • Enable Content Security Policy (CSP) reporting and Subresource Integrity (SRI) on third-party scripts to surface unauthorized changes.
  • Monitor egress traffic from publisher domains for anomalous connections triggered by client-side scripts.
  • Track npm registry advisories and integrate automated dependency scanning into pull request checks.

How to Mitigate CVE-2025-59038

Immediate Actions Required

  • Upgrade Prebid.js to version 10.10.0 or later across all build pipelines and CDN-hosted bundles.
  • Purge cached copies of prebid@10.9.2 from internal mirrors, edge caches, and developer workstations.
  • Rotate any credentials, API keys, or wallet keys that may have been exposed via affected sessions.
  • Notify users who transacted during the exposure window and review wallet transaction logs for redirection.

Patch Information

Upgrade to Prebid.js 10.10.0, which removes the malicious code introduced in 10.9.2. The fix is published through the upstream npm registry and the official Prebid GitHub Security Advisory.

Workarounds

  • Downgrade to Prebid.js 10.9.1, which predates the compromised release and is confirmed clean by the maintainers.
  • Pin dependency versions explicitly in package.json and enforce npm ci with verified package-lock.json hashes.
  • Apply Subresource Integrity (SRI) hashes when loading Prebid.js from a CDN to block tampered bundles at the browser level.
bash
# Configuration example
npm install prebid@10.10.0 --save-exact
npm ci
npm audit --production

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechPrebid

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.08%

  • Known ExploitedNo
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-506
  • Technical References
  • GitHub Security Advisory

  • Sonatype Blog Post on Supply Chain Attack
  • Related CVEs
  • CVE-2025-59039: Prebid Universal Creative Malware Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English