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

CVE-2026-27970: Angular i18n Pipeline XSS Vulnerability

CVE-2026-27970 is a cross-site scripting flaw in Angular's internationalization pipeline that allows execution of malicious JavaScript through compromised translations. This article covers technical details, affected versions, and mitigations.

Published: February 27, 2026

CVE-2026-27970 Overview

CVE-2026-27970 is a Cross-Site Scripting (XSS) vulnerability affecting the Angular framework's internationalization (i18n) pipeline. The vulnerability exists in the ICU (International Components for Unicode) message handling, where HTML from translated content is not properly sanitized and can execute arbitrary JavaScript code within the application context.

Angular i18n follows a three-step process: extracting messages from the source application, sending messages to translation partners, and merging translations back into the final source code. If a compromised or malicious translation file is incorporated into an Angular application, the unsanitized content can be rendered and execute attacker-controlled JavaScript in the application's origin.

Critical Impact

Successful exploitation allows execution of attacker-controlled JavaScript within the application origin, potentially leading to credential exfiltration and page vandalism.

Affected Products

  • Angular versions prior to 21.2.0
  • Angular versions prior to 21.1.16
  • Angular versions prior to 20.3.17
  • Angular versions prior to 19.2.19

Discovery Timeline

  • 2026-02-26 - CVE-2026-27970 published to NVD
  • 2026-02-26 - Last updated in NVD database

Technical Details for CVE-2026-27970

Vulnerability Analysis

The vulnerability resides in Angular's i18n parsing module, specifically in how ICU messages handle HTML content from translation files. The core issue stems from the assumption that input strings from translation files are inherently safe, which allows malicious HTML and JavaScript to bypass sanitization when rendered in the application.

When ICU messages containing HTML elements with sensitive URI attributes are processed, the i18n parser fails to adequately validate and sanitize these attributes before rendering. This creates a pathway for XSS attacks through specially crafted translation content.

Several preconditions must be met for successful exploitation: the attacker must compromise the translation file (XLIFF, XTB, etc.), the victim application must use Angular i18n with ICU messages, the application must render an ICU message, and the application must not have defensive XSS mitigations such as a strict Content Security Policy (CSP).

Root Cause

The root cause is improper input validation in the i18n_parse.ts module within Angular's core rendering engine. The parser assumed that translation input strings were safe unless they contained explicit bindings, failing to properly sanitize HTML content and URI attributes from translation files that could contain malicious payloads.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker must first compromise an application's translation file through supply chain manipulation, third-party translation service compromise, or direct file manipulation. Once the malicious translation content is incorporated into the Angular application build process and deployed, any user who renders the affected ICU message will execute the attacker's JavaScript code.

The attack flow involves:

  1. Compromising translation files delivered by third-party translation contractors
  2. Injecting malicious HTML/JavaScript within ICU message content
  3. Having the victim application merge the compromised translations
  4. Executing arbitrary JavaScript when end users render the affected pages
typescript
// Security patch showing the fix in i18n_parse.ts
// Source: https://github.com/angular/angular/commit/306f367899dfc2e04238fecd3455547b5d54075d

             const attr = elAttrs.item(i)!;
             const lowerAttrName = attr.name.toLowerCase();
             const hasBinding = !!attr.value.match(BINDING_REGEXP);
-            // we assume the input string is safe, unless it's using a binding
             if (hasBinding) {
               if (VALID_ATTRS.hasOwnProperty(lowerAttrName)) {
                 if (URI_ATTRS[lowerAttrName]) {

The patch removes the dangerous assumption that input strings are safe by default, implementing stricter validation for sensitive URI attributes within ICU messages.

Detection Methods for CVE-2026-27970

Indicators of Compromise

  • Unexpected JavaScript execution originating from translated content or i18n message rendering
  • Suspicious HTML tags or JavaScript event handlers within translation files (XLIFF, XTB)
  • Anomalous network requests to external domains originating from i18n-rendered pages
  • Credential exfiltration attempts or session token leakage correlated with page rendering

Detection Strategies

  • Implement static analysis scanning of translation files for HTML elements containing JavaScript event handlers or suspicious URI attributes
  • Monitor Content Security Policy violation reports for inline script execution attempts
  • Deploy runtime XSS detection tools to identify DOM-based script injection during page rendering
  • Audit translation file integrity using checksums or digital signatures before build integration

Monitoring Recommendations

  • Enable CSP reporting to capture and analyze policy violations in production environments
  • Implement logging for translation file modifications and deployments
  • Monitor for unusual DOM manipulation patterns during i18n message rendering
  • Track third-party translation service access and file delivery integrity

How to Mitigate CVE-2026-27970

Immediate Actions Required

  • Upgrade Angular to patched versions: 21.2.0, 21.1.16, 20.3.17, or 19.2.19
  • Review and verify all translated content received from untrusted third parties before incorporating into builds
  • Enable strict Content Security Policy (CSP) controls to block unauthorized inline JavaScript execution
  • Implement Trusted Types to enforce proper HTML sanitization across the application

Patch Information

Angular has released security patches across multiple supported versions. The fixes are available in versions 21.2.0, 21.1.16, 20.3.17, and 19.2.19. The patches address the vulnerability by removing the unsafe assumption about translation input safety and implementing proper validation for sensitive URI attributes in ICU messages.

For detailed patch information, see the GitHub Security Advisory GHSA-prjf-86w9-mfqv and the associated pull request.

Workarounds

  • Implement a strict Content Security Policy that prevents inline script execution and restricts script sources
  • Enable Trusted Types enforcement to sanitize HTML content before DOM insertion
  • Establish a secure review process for translation files, including automated scanning for malicious content
  • Consider hosting translation workflows internally rather than relying on external third-party contractors
bash
# Example Content Security Policy configuration for Apache
# Add to .htaccess or httpd.conf

Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; connect-src 'self'; frame-ancestors 'none'; base-uri 'self'; form-action 'self';"

# Enable Trusted Types via CSP header
Header append Content-Security-Policy "require-trusted-types-for 'script';"

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 Score7.6

  • EPSS Probability0.07%

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

  • GitHub Angular Commit Update

  • GitHub Angular Commit Update

  • GitHub Angular Pull Request

  • GitHub Security Advisory GHSA-prjf-86w9-mfqv
  • Related CVEs
  • CVE-2026-32635: Angular Framework XSS Vulnerability

  • CVE-2026-22610: Angular Template Compiler 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