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-56200

CVE-2025-56200: Validator.js URL Validation Bypass XSS Flaw

CVE-2025-56200 is a URL validation bypass vulnerability in validator.js through version 13.15.15 that enables XSS and open redirect attacks. This article covers the technical details, affected versions, and mitigation strategies.

Published: May 26, 2026

CVE-2025-56200 Overview

CVE-2025-56200 is a URL validation bypass vulnerability in the validator.js library through version 13.15.15. The isURL() function uses :// as the protocol delimiter when parsing input, while browsers treat : as the delimiter. Attackers exploit this parser differential to craft URLs that bypass protocol and domain validation. Successful exploitation enables Cross-Site Scripting (XSS) and Open Redirect attacks against applications that trust validator.js output. The flaw is classified under [CWE-79] and affects a widely deployed Node.js input validation library.

Critical Impact

Attackers can craft malicious URLs that pass isURL() validation but execute javascript: payloads or redirect users to attacker-controlled domains in the browser.

Affected Products

  • validator.js versions up to and including 13.15.15
  • Node.js applications consuming the validator npm package for URL validation
  • Web applications and APIs relying on validator.js for protocol or domain allow-listing

Discovery Timeline

  • 2025-09-30 - CVE-2025-56200 published to the National Vulnerability Database
  • 2025-10-18 - Last updated in NVD database

Technical Details for CVE-2025-56200

Vulnerability Analysis

The vulnerability stems from a parser differential between validator.js and web browsers. The library's isURL() function splits input on the :// substring to extract the protocol component. Browsers, however, follow the WHATWG URL specification and treat the first : character as the protocol terminator. An attacker crafts a string that the library interprets as a benign protocol followed by trusted domain content, while the browser interprets the same string as a dangerous scheme such as javascript:. Applications that pass user-supplied URLs through isURL() before inserting them into href attributes or redirect headers then render attacker-controlled content with origin trust.

Root Cause

The root cause is inconsistent URL parsing logic. The library does not align with RFC 3986 or the WHATWG URL parser, both of which terminate the scheme at the first :. Because validator.js searches for :// as a multi-character delimiter, any input where : appears before :// causes a mismatch between validated and rendered behavior. Domain allow-list checks operating on the post-delimiter string also fail under this condition.

Attack Vector

Exploitation requires an attacker to deliver a crafted URL to an application that calls isURL() with protocol or host restrictions. The attacker submits a URL such as one beginning with javascript: followed by content that contains :// later in the string. The library extracts the substring after :// as the protocol and validates the URL as legitimate. When the application later renders the value in a link, image source, or Location header, the browser executes the javascript: scheme or redirects to the attacker domain. User interaction such as clicking the link is typically required, consistent with reflected XSS and Open Redirect patterns. Technical demonstrations are published in the referenced GitHub Gist Code Snippet 1 and GitHub Gist Code Snippet 2.

Detection Methods for CVE-2025-56200

Indicators of Compromise

  • Outbound HTTP requests containing URL parameters that begin with javascript:, data:, or vbscript: followed by embedded :// substrings
  • Application logs showing redirect targets or rendered link values where the scheme does not match the host validation policy
  • Reflected XSS payloads in user-controlled URL fields that survive isURL() validation

Detection Strategies

  • Inventory all Node.js dependencies and identify applications importing validator at versions <= 13.15.15 using npm ls validator or software composition analysis tooling
  • Add static analysis rules that flag calls to isURL() whose return value flows into innerHTML, href, src, or HTTP Location responses
  • Replay suspicious URL inputs through both validator.js and a browser-aligned parser such as the native URL constructor and alert on protocol mismatches

Monitoring Recommendations

  • Monitor web application firewall logs for URL parameters containing non-HTTP schemes prior to :// sequences
  • Track Content Security Policy (CSP) violation reports for inline script and unexpected navigation events
  • Audit user-facing redirect endpoints and link-rendering components for anomalous outbound destinations

How to Mitigate CVE-2025-56200

Immediate Actions Required

  • Upgrade validator.js to a fixed release once published by the maintainers; track the GitHub Validator.js Repository for patch availability
  • Replace isURL() protocol checks with the native WHATWG URL parser and explicit url.protocol allow-listing against values such as http: and https:
  • Apply strict Content Security Policy headers that disallow javascript: URIs and inline event handlers

Patch Information

No vendor advisory or fixed version is listed in the NVD entry at the time of publication. Consumers should monitor the GitHub Validator.js Repository and the Validator.js Documentation for an updated release that aligns scheme parsing with browser behavior.

Workarounds

  • Pre-validate URLs with new URL(input) and reject any protocol not in an explicit allow list before calling isURL()
  • Encode or strip user-supplied URLs before rendering them into HTML attributes, and avoid placing untrusted values directly into href or src attributes
  • Disable open redirect endpoints or require server-side allow-listing of redirect destinations
bash
# Configuration example: enforce browser-aligned URL validation in Node.js
function safeIsURL(input) {
  try {
    const u = new URL(input);
    const allowed = ['http:', 'https:'];
    return allowed.includes(u.protocol);
  } catch (e) {
    return false;
  }
}

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechValidator Project

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Validator.js Documentation

  • GitHub Gist Code Snippet 1

  • GitHub Gist Code Snippet 2

  • GitHub Validator.js Repository
  • Related CVEs
  • CVE-2025-12758: Validator_project Validator DOS Vulnerability

  • CVE-2021-3765: Validator.js 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