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
    • 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-2026-22610

CVE-2026-22610: Angular Template Compiler XSS Vulnerability

CVE-2026-22610 is a cross-site scripting flaw in Angular's Template Compiler affecting SVG script elements. Attackers can exploit improper sanitization of href attributes. This article covers technical details, affected versions, and patches.

Updated: January 22, 2026

CVE-2026-22610 Overview

A cross-site scripting (XSS) vulnerability has been identified in the Angular Template Compiler, a core component of the Angular development platform used for building mobile and desktop web applications. The vulnerability exists because Angular's internal sanitization schema fails to recognize the href and xlink:href attributes of SVG <script> elements as a Resource URL context, allowing attackers to potentially inject and execute malicious scripts in the context of a victim's browser session.

Critical Impact

This XSS vulnerability in Angular's Template Compiler could allow attackers to execute arbitrary JavaScript in the context of affected applications, potentially leading to session hijacking, credential theft, and unauthorized actions on behalf of authenticated users.

Affected Products

  • Angular versions prior to 19.2.18
  • Angular versions prior to 20.3.16
  • Angular versions prior to 21.0.7 and 21.1.0-rc.0

Discovery Timeline

  • 2026-01-10 - CVE CVE-2026-22610 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2026-22610

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting (XSS). The flaw resides in Angular's template compiler, specifically in how the framework's sanitization schema processes SVG elements.

Angular applications rely on built-in sanitization mechanisms to prevent XSS attacks by automatically sanitizing values bound to certain DOM properties. However, the sanitization schema was not properly configured to treat href and xlink:href attributes on SVG <script> elements as Resource URL contexts requiring sanitization.

This oversight allows an attacker to craft malicious SVG content containing script elements with dangerous URLs that bypass Angular's security checks. When the application processes this content, the unsanitized URLs can execute arbitrary JavaScript code.

Root Cause

The root cause of this vulnerability lies in an incomplete implementation of Angular's internal sanitization schema. The schema defines which DOM properties and attributes require sanitization based on their context (URL, Resource URL, HTML, Style, etc.). The href and xlink:href attributes on SVG <script> elements were not properly mapped to the Resource URL context, creating a gap in the sanitization coverage.

SVG elements have historically been a vector for XSS attacks due to their rich feature set and ability to embed scripts. In this case, the Angular Template Compiler did not apply the same level of scrutiny to SVG script element attributes as it does to similar constructs in HTML.

Attack Vector

The attack leverages the network attack vector, requiring user interaction to trigger the vulnerability. An attacker could exploit this flaw through the following mechanism:

An attacker would craft malicious SVG content containing a <script> element with a specially crafted href or xlink:href attribute pointing to a malicious JavaScript resource. When this SVG content is processed by an Angular application and rendered in a user's browser, the script reference bypasses Angular's sanitization and executes in the context of the application.

This attack requires that the vulnerable Angular application processes user-supplied or externally-sourced SVG content that gets rendered in the template. The specific technical implementation details can be found in the GitHub Security Advisory.

Detection Methods for CVE-2026-22610

Indicators of Compromise

  • Presence of SVG elements containing <script> tags with suspicious href or xlink:href attributes in application logs or user-submitted content
  • Unexpected JavaScript execution events originating from SVG content within Angular-rendered pages
  • Browser console errors or Content Security Policy violations related to script loading from unexpected sources

Detection Strategies

  • Implement Content Security Policy (CSP) headers to detect and block unauthorized script execution attempts
  • Monitor web application firewall (WAF) logs for patterns matching SVG script element injection attempts
  • Review application logs for anomalous SVG content submissions containing script elements
  • Deploy runtime application self-protection (RASP) solutions to detect XSS exploitation attempts

Monitoring Recommendations

  • Enable verbose logging for user-submitted content processing, particularly for file uploads and rich text inputs
  • Configure browser-based security monitoring to detect DOM-based XSS execution patterns
  • Implement client-side telemetry to track unexpected script execution within Angular applications
  • Monitor for CSP violation reports which may indicate exploitation attempts

How to Mitigate CVE-2026-22610

Immediate Actions Required

  • Upgrade Angular to patched versions: 19.2.18, 20.3.16, 21.0.7, or 21.1.0-rc.0 immediately
  • Audit application code for areas where SVG content is processed or rendered from external sources
  • Implement strict Content Security Policy headers to limit script execution sources
  • Review and sanitize any user-submitted SVG content before rendering

Patch Information

Angular has released security patches addressing this vulnerability. The fixes are available in the following versions:

  • Version 19.2.18 for the 19.x branch
  • Version 20.3.16 for the 20.x branch
  • Version 21.0.7 for the 21.0.x branch
  • Version 21.1.0-rc.0 for the 21.1.x release candidate

For detailed patch information, review the GitHub commit and the associated pull request.

Workarounds

  • Implement additional server-side sanitization of SVG content before it reaches the Angular application
  • Strip or reject SVG content containing <script> elements at the input validation layer
  • Use DOMPurify or similar sanitization libraries as an additional defense layer for SVG processing
  • Configure strict CSP headers with script-src directives limiting script sources
bash
# Update Angular to patched version using npm
npm update @angular/core @angular/compiler @angular/platform-browser

# Verify installed Angular version
ng version

# For specific version installation
npm install @angular/core@21.0.7 @angular/compiler@21.0.7 @angular/platform-browser@21.0.7

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechAngular

  • SeverityHIGH

  • CVSS Score8.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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-79
  • Technical References
  • GitHub Commit Update

  • GitHub Pull Request

  • GitHub Security Advisory GHSA-jrmj-c5cx-3cw6
  • Related CVEs
  • CVE-2026-32635: Angular Framework XSS Vulnerability

  • CVE-2026-27970: Angular i18n Pipeline XSS Vulnerability

  • CVE-2025-66412: Angular Template Compiler XSS Vulnerability

  • CVE-2026-33397: Angular SSR Open Redirect Vulnerability
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