The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-8101

CVE-2025-8101: Linkify (linkifyjs) XSS Vulnerability

CVE-2025-8101 is a prototype pollution vulnerability in Linkify (linkifyjs) that enables XSS attacks through HTML attribute manipulation. This article covers the technical details, affected versions 4.3.1-4.3.2, and mitigation.

Updated: May 19, 2026

CVE-2025-8101 Overview

CVE-2025-8101 is a prototype pollution vulnerability in Linkify (linkifyjs), a popular JavaScript library that detects URLs in plain text and converts them into clickable links. The flaw is classified as CWE-1321: Improperly Controlled Modification of Object Prototype Attributes. Attackers can manipulate object prototype attributes to inject malicious values into HTML attributes generated by the library, enabling cross-site scripting (XSS) and tampering with user-controlled variables. The issue affects Linkify versions from 4.3.1 before 4.3.2.

Critical Impact

Successful exploitation allows attackers to execute arbitrary JavaScript in victim browsers by polluting the global Object.prototype, leading to session hijacking, credential theft, and unauthorized actions in applications embedding Linkify.

Affected Products

  • Linkify (linkifyjs) version 4.3.1
  • All Linkify releases prior to 4.3.2
  • Web applications and Node.js projects that import linkifyjs for URL detection and rendering

Discovery Timeline

  • 2025-07-25 - CVE-2025-8101 published to the National Vulnerability Database (NVD)
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-8101

Vulnerability Analysis

The vulnerability resides in how linkifyjs merges configuration options and intermediate objects during URL parsing and HTML rendering. The library fails to validate property names when assigning values to internal objects. Attackers can supply input containing reserved keys such as __proto__, constructor, or prototype to inject properties onto Object.prototype. Once polluted, every object in the JavaScript runtime inherits the attacker-controlled values.

Linkify uses these merged options to construct HTML attributes for generated anchor tags. When polluted properties propagate into attribute rendering, attackers can inject arbitrary attribute names and values, including event handlers like onclick or onmouseover. This produces a stored or reflected XSS depending on how the host application processes user input.

Root Cause

The root cause is unsafe recursive property assignment without filtering reserved object keys. The library merges objects using direct property access rather than safe operations such as Object.create(null), Map, or guards that reject __proto__, constructor.prototype, and similar paths. Any function that walks user-controlled object keys and writes them to a target object without validation is susceptible.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction beyond loading a page that processes attacker-controlled text. An attacker submits crafted input containing prototype-pollution payloads to any application surface that passes data through linkifyjs. The polluted prototype then influences subsequent link rendering, injecting malicious HTML attributes that execute JavaScript in the victim's browser context. See the Fluid Attacks Advisory and the Linkify v4.3.2 release notes for additional technical context.

Detection Methods for CVE-2025-8101

Indicators of Compromise

  • Presence of linkifyjs version 4.3.1 in package.json, package-lock.json, or yarn.lock dependency manifests
  • HTTP request bodies or query parameters containing __proto__, constructor, or prototype keys directed at endpoints that process free-form text
  • Unexpected HTML attributes such as onerror, onload, or onmouseover appearing in rendered anchor tags generated server-side or client-side
  • Browser console errors referencing modified built-in object properties on pages that render user content through Linkify

Detection Strategies

  • Run software composition analysis (SCA) tools against application repositories to flag vulnerable linkifyjs versions between 4.3.1 and 4.3.2
  • Inspect application logs and web application firewall (WAF) telemetry for payloads containing prototype-pollution gadgets
  • Add Content Security Policy (CSP) violation reporting to capture unexpected inline script execution attempts originating from rendered links

Monitoring Recommendations

  • Monitor outbound requests from user browsers to untrusted domains immediately after pages render user-generated content
  • Track anomalies in session token usage, particularly cookies accessed shortly after a user views content processed by linkifyjs
  • Alert on changes to the npm dependency tree that pin or roll back linkifyjs to vulnerable versions during builds

How to Mitigate CVE-2025-8101

Immediate Actions Required

  • Upgrade linkifyjs to version 4.3.2 or later across all production, staging, and development environments
  • Audit application code for any custom integration that passes user-controlled objects directly into Linkify option arguments
  • Apply server-side and client-side input validation to reject keys named __proto__, constructor, and prototype in JSON payloads

Patch Information

The Linkify maintainers addressed the prototype pollution issue in version 4.3.2. Install the fixed release from the npm registry using npm install linkifyjs@^4.3.2 or the equivalent command for your package manager. Review the v4.3.2 release on GitHub and the linkifyjs source repository to confirm the fix is present in the installed build.

Workarounds

  • Wrap calls to linkifyjs so that input objects are sanitized through JSON.parse with a reviver that strips dangerous keys before they reach the library
  • Enforce a strict Content Security Policy that disallows inline event handlers and inline scripts, reducing the impact of injected attributes
  • Render Linkify output through a sanitizer such as DOMPurify configured to strip event-handler attributes before insertion into the DOM
bash
# Configuration example
npm install linkifyjs@^4.3.2
npm audit --production

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechLinkify

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.18%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/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
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-1321
  • Technical References
  • Fluid Attacks Advisory

  • GitHub Repository for LinkifyJS

  • GitHub LinkifyJS Release v4.3.2

  • NPM Package for LinkifyJS
  • Latest CVEs
  • CVE-2026-43328: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43329: Linux Kernel Netfilter DoS Vulnerability

  • CVE-2026-43330: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-43331: Linux Kernel DOS 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