cve.bz

CVE-2026-27970 angular angular: Cross-site Scripting

7.6 highEPSS 0.6%Fix available

High (7.6) in angular angular. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in @angular/core 19.2.19, 20.3.17, 21.1.6.

On this page
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.

Severity

CVSS 4.0

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

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.6% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 47th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-02-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-27970 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-27970?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-27970?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-27970 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
angular:angularbefore 19.2.19
angular:angularfrom 20.0.0 before 20.3.17
angular:angularfrom 21.0.0 before 21.1.6
angular:angular21.2.0:next0
angular:angular21.2.0:next1
angular:angular21.2.0:next2
angular:angular21.2.0:next3
angular:angular21.2.0:rc0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-prjf-86w9-mfqvnpm@angular/core>=21.2.0-next.0 <21.2.021.2.0
GHSA-prjf-86w9-mfqvnpm@angular/core>=21.0.0-next.0 <21.1.621.1.6
GHSA-prjf-86w9-mfqvnpm@angular/core>=20.0.0-next.0 <20.3.1720.3.17
GHSA-prjf-86w9-mfqvnpm@angular/core>=19.0.0-next.0 <19.2.1919.2.19
GHSA-prjf-86w9-mfqvnpm@angular/core<=18.2.14no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13angular.jsno fix listedDEBIAN-CVE-2026-27970
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 5 moreangular.jsno fix listedUBUNTU-CVE-2026-27970

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Ceph Storage 9.2rhceph/rhceph-9-rhel10:1790843527Fixed 2026-10-21RHSA-2026:86618
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/volsync-operator-bundleNot affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/volsync-rhel9Not affected
Red Hat Enterprise Linux 10cephAffected
Red Hat Enterprise Linux 10firefoxNot affected
Red Hat Enterprise Linux 10gjsNot affected
Red Hat Enterprise Linux 10intel-cmt-catAffected
Red Hat Enterprise Linux 10thunderbirdNot affected
Red Hat Enterprise Linux 7firefoxNot affected
Red Hat Enterprise Linux 8dotnet5.0-build-reference-packagesNot affected
Red Hat Enterprise Linux 8firefoxNot affected
Red Hat Enterprise Linux 8intel-cmt-catAffected
Red Hat Enterprise Linux 8mozjs60Not affected
Red Hat Enterprise Linux 8thunderbirdNot affected
Red Hat Enterprise Linux 9cephAffected
Red Hat Enterprise Linux 9firefoxNot affected
Red Hat Enterprise Linux 9gjsNot affected
Red Hat Enterprise Linux 9intel-cmt-catAffected
Red Hat Enterprise Linux 9polkitNot affected
Red Hat Enterprise Linux 9thunderbirdNot affected
4 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-27970.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON