Description
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 20.3.27, 21.2.19, and 22.0.1, the Angular compiler i18n pipeline permits i18n-onerror and other i18n-on event-handler attributes, allowing a lower-trust translation file to replace a static handler with executable JavaScript. This issue is fixed in versions 20.3.27, 21.2.19, and 22.0.1.
Published: 2026-08-03
Score: 7.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability lies within Angular’s compiler i18n pipeline, which prior to the specified releases incorrectly permits i18n‑onerror and other event‑handler attributes in translation files to be interpreted as executable JavaScript. This flaw enables a translation file from a lower‑trust source to inject malicious code that runs when the application renders translated content. The result is classic Cross‑Site Scripting that can compromise user data, allow session hijacking, and facilitate further browser‑based attacks.

Affected Systems

Angular compiler (@angular:compiler), Angular core (@angular:core), and Angular framework (angular:angular) packages that are older than versions 20.3.27, 21.2.19, and 22.0.1 respectively. The issue is fixed in those releases and all later versions, so upgrading removes the attack surface.

Risk and Exploitability

The CVSS score of 7.6 denotes a high severity vulnerability. EPSS for this flaw is not available, so the exploitation probability cannot be quantified, but because the attack relies on malicious translation files, the risk is driven by the integrity of the translation supply chain. The vulnerability is not listed in the CISA KEV catalog, yet the potential for XSS persists until the affected packages are updated. Prompt patching is recommended to mitigate the risk.

Generated by OpenCVE AI on August 4, 2026 at 10:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade @angular:compiler, @angular:core, and angular:angular to version 20.3.27, 21.2.19, or 22.0.1 and later
  • Ensure that all i18n translation files come from trusted, signed sources and validate them before inclusion
  • Apply a strict Content‑Security Policy that restricts inline script execution and event attribute handlers

Generated by OpenCVE AI on August 4, 2026 at 10:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-jj27-h5hq-8x99 Angular i18n: Cross-Site Scripting (XSS) via event-handler attributes
History

Tue, 11 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'}

cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


Wed, 05 Aug 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared @angular
@angular core
Angular
Angular angular
Angular compiler
Vendors & Products @angular
@angular core
Angular
Angular angular
Angular compiler

Tue, 04 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'}

threat_severity

Important


Mon, 03 Aug 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 03 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
Description Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 20.3.27, 21.2.19, and 22.0.1, the Angular compiler i18n pipeline permits i18n-onerror and other i18n-on event-handler attributes, allowing a lower-trust translation file to replace a static handler with executable JavaScript. This issue is fixed in versions 20.3.27, 21.2.19, and 22.0.1.
Title Angular i18n: Cross-Site Scripting (XSS) via event-handler attributes
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 7.6, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-03T21:19:24.394Z

Reserved: 2026-08-03T15:47:09.654Z

Link: CVE-2026-69151

cve-icon Vulnrichment

Updated: 2026-08-03T21:18:14.116Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-03T17:16:45.797

Modified: 2026-08-11T18:19:30.660

Link: CVE-2026-69151

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-03T16:23:34Z

Links: CVE-2026-69151 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T10:21:59Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')