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

CVE-2025-62427: Angular SSR SSRF Vulnerability

CVE-2025-62427 is a Server-Side Request Forgery flaw in Angular SSR that allows attackers to manipulate URL resolution and force servers to communicate with external endpoints. This article covers technical details, affected versions, and patches.

Published: May 11, 2026

CVE-2025-62427 Overview

CVE-2025-62427 is a Server-Side Request Forgery (SSRF) vulnerability in Angular's Server-Side Rendering package (@angular/ssr). The flaw resides in the createRequestUrl function, which uses the native URL constructor without validating incoming request paths. When a request path begins with // or \\, the constructor interprets it as a schema-relative URL and adopts an attacker-controlled hostname. This overrides the intended base URL and redirects subsequent relative HTTP requests made during SSR to an external endpoint controlled by the attacker. The vulnerability is fixed in versions 19.2.18, 20.3.6, and 21.0.0-next.8.

Critical Impact

Attackers can coerce the SSR server into issuing relative HTTP requests against an arbitrary external domain, leading to confidentiality loss and potential pivoting into internal services.

Affected Products

  • @angular/ssr versions prior to 19.2.18
  • @angular/ssr versions prior to 20.3.6
  • @angular/ssr versions prior to 21.0.0-next.8

Discovery Timeline

  • 2025-10-16 - CVE-2025-62427 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-62427

Vulnerability Analysis

The vulnerability is classified under [CWE-918] Server-Side Request Forgery. Angular SSR pre-renders pages on the Node.js server, where the createRequestUrl function constructs a URL object from the incoming IncomingMessage or Http2ServerRequest. The function passes the raw request path as the first argument to the URL constructor and the server's base URL as the second argument. This pattern is normally safe, but the native URL constructor applies special handling when the path begins with // or \\.

In that case, the constructor treats the path as a protocol-relative reference. It preserves the scheme from the base URL but adopts the hostname from the request path. The resulting URL object reflects an attacker-controlled host instead of the server's own host.

Root Cause

The root cause is missing validation of the request path before delegating to the URL constructor. The SSR runtime exposes the resulting URL through the DOCUMENT and PlatformLocation tokens. Any code that issues relative HTTP requests during rendering, such as HttpClient.get('assets/data.json'), resolves those requests against the poisoned base. The server then transmits requests to the attacker's domain.

Attack Vector

An unauthenticated remote attacker sends an HTTP request with a crafted path such as //attacker.example.com/path. The SSR pipeline parses this as a protocol-relative URL and rebases all relative fetches during rendering against attacker.example.com. This can be used to exfiltrate session-bound data, probe internal network services through the SSR host, or substitute attacker-supplied responses for assets consumed during rendering.

typescript
// Security patch in packages/angular/ssr/node/src/request.ts
// fix(@angular/ssr): prevent malicious URL from overriding host
  * @param nodeRequest - The Node.js `IncomingMessage` or `Http2ServerRequest` object to extract URL information from.
  * @returns A `URL` object representing the request URL.
  */
-function createRequestUrl(nodeRequest: IncomingMessage | Http2ServerRequest): URL {
+export function createRequestUrl(nodeRequest: IncomingMessage | Http2ServerRequest): URL {
   const {
     headers,
     socket,

Source: Angular CLI Commit 5271547

Detection Methods for CVE-2025-62427

Indicators of Compromise

  • Inbound HTTP requests where originalUrl or url begins with // or \\ followed by an external hostname.
  • Outbound connections from the SSR Node.js process to domains that do not match the application's expected asset or API hosts.
  • Application logs showing relative asset fetches resolving against unexpected hostnames in DOCUMENT.location or PlatformLocation.

Detection Strategies

  • Inspect reverse proxy and access logs for request paths matching the regex ^(\/\/|\\\\)[^\/]+ and correlate with the SSR process identifier.
  • Instrument HttpClient interceptors during SSR to log the fully resolved request URL and alert on hosts outside an allowlist.
  • Audit installed @angular/ssr versions across build pipelines and production hosts using npm ls @angular/ssr.

Monitoring Recommendations

  • Monitor egress traffic from SSR workloads and flag connections to domains not present in the application's allowlist.
  • Alert on anomalous DNS resolutions originating from Node.js SSR containers.
  • Track exceptions and timeouts emitted by HttpClient during render, which can indicate failed SSRF attempts against unreachable hosts.

How to Mitigate CVE-2025-62427

Immediate Actions Required

  • Upgrade @angular/ssr to 19.2.18, 20.3.6, or 21.0.0-next.8 depending on the active major version.
  • Rebuild and redeploy SSR-enabled Angular applications and invalidate cached server bundles.
  • Review SSR egress logs since the package was deployed for evidence of requests to unexpected hosts.

Patch Information

The Angular team published the fix in commit 5271547c80662de10cb3bcb648779a83f6efedfb and tracked the issue under advisory GHSA-q63q-pgmf-mxhr. The patch hardens createRequestUrl so that paths beginning with // or \\ no longer override the configured base host. Refer to the Angular Security Advisory GHSA-q63q-pgmf-mxhr for full vendor guidance.

Workarounds

  • Add a reverse proxy rule that rejects or normalizes request paths starting with // or \\ before traffic reaches the Node.js SSR process.
  • Restrict outbound network access from the SSR runtime to an explicit allowlist of asset and API domains.
  • Implement an HttpClient interceptor that validates the resolved URL against trusted hosts before issuing the request.
bash
# Upgrade @angular/ssr to a patched version
npm install @angular/ssr@^20.3.6

# Verify the installed version
npm ls @angular/ssr

# Example nginx rule to reject schema-relative paths
# location ~ "^/{2,}|^\\\\" { return 400; }

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

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechAngular

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/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
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-27739: Angular SSR SSRF Vulnerability

  • CVE-2026-44437: Angular SSR Path Traversal Vulnerability

  • CVE-2026-33397: Angular SSR Open Redirect Vulnerability

  • CVE-2026-32635: Angular Framework XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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