Skip to main content

Angular CVE-2026-27970

HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-02-26 security-advisories@github.com GHSA-prjf-86w9-mfqv
7.6
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Compromise third-party translation file
  2. Delivery
    Inject malicious HTML in ICU message
  3. Exploit
    App built/served with poisoned translation
  4. Execution
    Victim loads page rendering ICU message
  5. Persist
    Script executes in app origin
  6. Impact
    Exfiltrate credentials or deface page

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the attacker first compromise the application's translation file (xliff, xtb, or similar) - this is the gating precondition and the reason it is not exploitable by arbitrary end users. The victim application must additionally (1) use Angular i18n, (2) define one or more ICU messages, (3) actually render at least one such ICU message, and (4) lack a safe Content Security Policy and Trusted Types enforcement that would otherwise block injected JavaScript. Limiting factors: the attack needs control over the translation supply chain rather than runtime user input (CVSS AT:P), depends on a victim loading the affected page (UI:P), affects only apps using the i18n/ICU feature set, and is neutralized by a strict CSP - so default-hardened deployments with in-house translations face minimal exposure.

Impact

Signals are largely consistent and point to a real-but-conditional risk rather than a fire-drill. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H, base 7.6 High) encodes the key nuance via AT:P (a present attack requirement) and UI:P (passive user interaction): network-reachable and high-impact on confidentiality and integrity, but gated by a precondition. EPSS of 0.04% (13th percentile) and the absence of CISA KEV listing or any public POC indicate exploitation is neither widespread nor opportunistic. The decisive limiting factor - the attacker must already control the translation file - means this behaves like a targeted supply-chain XSS, not a mass-exploitable internet bug. Net: prioritize patching for apps that consume third-party translations, but it does not warrant emergency response for apps with trusted/in-house translation pipelines and a strong CSP.

Exploit ScenarioDerived

An organization outsources Angular i18n translations to an external contractor; an attacker who compromises that contractor (or the translation file in transit) inserts an ICU message containing malicious HTML/JavaScript. When the application is built with the poisoned xliff/xtb file and a victim loads a page that renders that ICU message, the script executes in the app's origin and can exfiltrate session tokens or deface the page. No public POC is identified at time of analysis, and exploitation hinges on the attacker first owning the translation artifact.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv5 – Jun 30, 2026

Cross-site scripting in Angular's internationalization (i18n) pipeline allows attacker-controlled JavaScript to execute in the application origin when a poisoned translation file is merged into an app. The flaw affects Angular versions before 21.2.0, 21.1.16, 20.3.17, and 19.2.19, where HTML inside ICU (International Components for Unicode) messages from translated content was not sanitized before rendering. Exploitation is not open to arbitrary users - it requires first compromising a translation file (xliff, xtb, etc.), so this is effectively a supply-chain/third-party-translation risk; EPSS is very low (0.04%, 13th percentile) and there is no public exploit identified at time of analysis.

Earlier versions of this analysis (4)
v4 Jun 30, 2026 - 05:15 cvss changed CVSS 7.6

Cross-site scripting in Angular's internationalization (i18n) pipeline lets attacker-controlled JavaScript run in the application origin when a malicious ICU translation message is rendered. Affected are Angular applications using i18n with ICU messages on versions before 21.2.0, 21.1.16, 20.3.17, and 19.2.19, where HTML from translated content was not sanitized. Exploitation is unusual for XSS in that it requires compromising the translation file (xliff/xtb) rather than crafting input as a normal user; EPSS is very low (0.04%), there is no public exploit identified at time of analysis, and the issue is not in CISA KEV.

v3 Jun 30, 2026 - 05:15 cvss changed CVSS 7.6

Cross-site scripting in the Angular framework's internationalization (i18n) pipeline allows attacker-controlled JavaScript to execute in the application origin when a poisoned translation is rendered. Affected builds are Angular versions prior to 21.2.0, 21.1.16, 20.3.17, and 19.2.19 that use i18n with ICU messages, where HTML inside translated ICU content was not sanitized before rendering. This is a supply-chain-style XSS: the attacker must first compromise a translation file (xliff, xtb, etc.) supplied by a third-party translation contractor, so it is not exploitable by arbitrary end users. EPSS is low (0.04%, 13th percentile) and there is no public exploit identified at time of analysis.

v2 Jun 30, 2026 - 05:14 cvss changed CVSS 7.6

Stored cross-site scripting in the Angular i18n (internationalization) pipeline allows attacker-controlled JavaScript to execute in the application origin when a poisoned translation file is merged into an app that renders ICU messages. HTML embedded in translated ICU content was not sanitized, so a malicious or compromised translation supplier (xliff/xtb file) can inject script that runs for end users, enabling credential theft or page defacement. There is no public exploit identified at time of analysis and EPSS is very low (0.04%, 13th percentile), consistent with a supply-chain prerequisite rather than mass-exploitable XSS; a vendor patch is available across all maintained release lines.

v1 Mar 12, 2026 - 21:55 CVSS 6.1

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Versions prior to 21.2.0, 21.1.16, 20.3.17, and 19.2.19 have a cross-Site scripting vulnerability in the Angular internationalization (i18n) pipeline. [CVSS 6.1 MEDIUM]

RemediationAI

Upgrade to a fixed Angular release for your line: Vendor-released patch: 21.2.0, 21.1.16, 20.3.17, or 19.2.19, delivered via commits 306f3678, 7d58b798, and b85830953 and pull request https://github.com/angular/angular/pull/67183 (advisory: https://github.com/angular/angular/security/advisories/GHSA-prjf-86w9-mfqv). Until you can patch, the most direct compensating control is to review and verify translated content received from untrusted third-party contractors before merging it into the build - this directly addresses the compromised-translation precondition but adds manual overhead to the localization workflow. Additionally, deploy a strict Content Security Policy (without 'unsafe-inline'/'unsafe-eval') to block injected script execution, accepting that a tight CSP may require refactoring inline handlers/styles, and enable Trusted Types to force HTML sanitization, which can break code paths that assign raw HTML and so should be tested before production rollout.

Affected Packages

npm @angular/core fix: 19.2.19, 20.3.17, 21.1.6, 21.2.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Angular is a TypeScript/JavaScript front-end framework whose i18n workflow extracts source-language messages, sends them to translators, then merges returned translations back into the build. ICU message format supports plural/select constructs and interpolated content; the vulnerable code path rendered HTML embedded in these translated ICU messages without passing it through Angular's DomSanitizer, the standard defense against CWE-79 (Improper Neutralization of Input During Web Page Generation, i.e. XSS). The affected component is the Angular package as distributed via npm (CPE cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*), specifically builds compiled with i18n that render at least one ICU message. Because the untrusted data enters through the translation artifact rather than runtime user input, the trust boundary is the translation supply chain rather than the end-user request.

Know when Angular gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.6 HIGH
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
vuln.today AI 6.8 MEDIUM

AC:H and UI:R because exploitation requires first compromising the translation supply chain and a victim rendering the message; PR:N as no app privileges are needed; C:H/I:H for origin-scoped script execution, A:N as availability is unaffected.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 7.1 HIGH

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

8
Analysis Updated
Jun 30, 2026 - 05:17 vuln.today
v5 - CVSS changed
Analysis Updated
Jun 30, 2026 - 05:15 vuln.today
v4 - CVSS changed
Analysis Updated
Jun 30, 2026 - 05:15 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 30, 2026 - 05:14 vuln.today
v2 - CVSS changed
Severity Changed
Jun 30, 2026 - 03:24 NVD
MEDIUM HIGH
CVSS changed
Jun 30, 2026 - 03:24 NVD
6.1 (MEDIUM) 7.6 (HIGH)
Patch released
Feb 27, 2026 - 17:11 nvd
Patch available
CVE Published
Feb 26, 2026 - 02:16 nvd
MEDIUM 6.1

DescriptionCVE.org

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Versions prior to 21.2.0, 21.1.16, 20.3.17, and 19.2.19 have a cross-Site scripting vulnerability in the Angular internationalization (i18n) pipeline. In ICU messages (International Components for Unicode), HTML from translated content was not properly sanitized and could execute arbitrary JavaScript. Angular i18n typically involves three steps, extracting all messages from an application in the source language, sending the messages to be translated, and then merging their translations back into the final source code. Translations are frequently handled by contracts with specific partner companies, and involve sending the source messages to a separate contractor before receiving final translations for display to the end user. If the returned translations have malicious content, it could be rendered into the application and execute arbitrary JavaScript. When successfully exploited, this vulnerability allows for execution of attacker controlled JavaScript in the application origin. Depending on the nature of the application being exploited this could lead to credential exfiltration and/or page vandalism. Several preconditions apply to the attack. The attacker must compromise the translation file (xliff, xtb, etc.). Unlike most XSS vulnerabilities, this issue is not exploitable by arbitrary users. An attacker must first compromise an application's translation file before they can escalate privileges into the Angular application client. The victim application must use Angular i18n, use one or more ICU messages, render an ICU message, and not defend against XSS via a safe content security policy. Versions 21.2.0, 21.1.6, 20.3.17, and 19.2.19 patch the issue. Until the patch is applied, developers should consider reviewing and verifying translated content received from untrusted third parties before incorporating it in an Angular application, enabling strict CSP controls to block unauthorized JavaScript from executing on the page, and enabling Trusted Types to enforce proper HTML sanitization.

Executive ViewAI

Why It Matters

Angular-based web applications may be vulnerable to cross-site scripting attacks through compromised translation files, potentially exposing users to malicious activity and data theft. Organizations relying on external translation management or distributed translation sources face the greatest risk. Although no public exploit is identified at time of analysis, the high severity rating and supply-chain nature of this vulnerability warrant prioritized patching for all affected customer-facing applications.

Business Impact: High
Compensating Controls

Apply vendor patch. Interim mitigations during deployment: restrict translation file sources to internal, vetted repositories; implement code signing or integrity verification on translation files before deployment; audit and minimize administrative access to translation file management systems.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Prevalence
High
major front-end framework used across many enterprise web apps
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)CVE.org

cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*
cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*
cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*
cpe:2.3:a:angular:angular:21.2.0:next0:*:*:*:node.js:*:*
cpe:2.3:a:angular:angular:21.2.0:next1:*:*:*:node.js:*:*
cpe:2.3:a:angular:angular:21.2.0:next2:*:*:*:node.js:*:*
cpe:2.3:a:angular:angular:21.2.0:next3:*:*:*:node.js:*:*
cpe:2.3:a:angular:angular:21.2.0:rc0:*:*:*:node.js:*:*
CVE-2026-88060 HIGH POC
8.6 Sep 10

Cross-site scripting via Angular's server-side rendering package (@angular/platform-server) allows arbitrary JavaScript

CVE-2026-88058 HIGH POC
8.6 Sep 10

Cross-site scripting in Angular's server-side rendering engine (`@angular/platform-server`) allows arbitrary JavaScript

CVE-2026-88056 HIGH POC
8.6 Sep 10

Server-Side Rendering in Angular's @angular/platform-server leaks server-side credentials to attacker-controlled origins

CVE-2025-66412 HIGH
8.5 Dec 01

Stored XSS in the Angular Template Compiler (npm package @angular/compiler) allows an authenticated attacker who can per

CVE-2026-22610 HIGH
8.5 Jan 10

Cross-site scripting in Angular's Template Compiler allows attackers to inject arbitrary JavaScript through unsanitized

CVE-2026-101895 HIGH
8.7 Sep 28

An unauthenticated remote attacker can lock up an Angular server-side rendering process by submitting HTML that contains

CVE-2025-62427 HIGH
8.7 Oct 16

Server-side request forgery in Angular's @angular/ssr package (all versions from 19.0.0-next.0 before 19.2.18, 20.0.0-ne

CVE-2026-50178 HIGH
8.7 Jun 22

Command injection via untrusted Markdown rendering in the Angular Language Service VS Code extension (versions prior to

CVE-2026-49241 HIGH
8.7 Jun 22

Arbitrary code execution in the Angular Language Service VS Code extension prior to 21.2.4 allows attackers to silently

CVE-2026-41423 HIGH
8.7 May 08

Server-Side Request Forgery in Angular's @angular/platform-server (SSR) lets remote unauthenticated attackers hijack the

CVE-2026-111752 HIGH
8.2 Oct 20

Heap exhaustion and CPU starvation in @angular/router under Angular Server-Side Rendering on Node.js allow unauthenticat

CVE-2026-101896 HIGH
8.2 Sep 30

Denial of service in the npm package @angular/router when Server-Side Rendering (SSR) is enabled on Node.js allows an un

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy