Cloudanix VulnDB

CVE-2026-69151

Medium · 6.1

CVSS

6.1

EPSS

0.3%

Published

Aug 3, 2026

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in how Angular handles translation files could let attackers inject code that runs when users visit the application, unless the framework is updated.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Moderate
Impact
Remote Code Execution
Component
Web Framework
Class
XSS
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The Angular i18n compiler pipeline accepts i18n-on* event-handler attributes from translation files, allowing a malicious translation to inject executable JavaScript that replaces intended static handlers.

Why it matters to the business

Organizations using affected Angular versions risk cross-site scripting in applications that rely on external or lower-trust translation files, potentially leading to unauthorized data access or session compromise if unpatched.

How an attack unfolds

An attacker supplies a crafted translation file containing i18n-onerror or similar attributes; when the Angular compiler processes the file during build, the attribute is rendered as executable JavaScript in the output bundle, executing in the context of end users who load the application.

How to fix it

Upgrade Angular to version 20.3.27, 21.2.19, or 22.0.1 or later; audit and sanitize all translation files before inclusion in builds; consider restricting i18n pipelines to trusted sources only.

How to confirm the fix worked

Verify the Angular compiler version in package.json or lockfiles matches a fixed release; scan source templates and translation JSON files for i18n-on* attributes; rebuild and inspect generated bundles for absence of dynamic event handlers from translations.

Typical attack path

  1. Obtain or compromise a translation file used by the Angular application
  2. Insert i18n-on* attributes that reference JavaScript payloads
  3. Trigger a build that processes the malicious translation through the i18n pipeline
  4. Serve the resulting bundle to victims who trigger the injected handler

How to detect it

Search build logs and compiled bundles for i18n-onerror or similar i18n-on* patterns originating from translation sources; inspect application source control history for recent translation file changes; review runtime JavaScript for unexpected event handlers in i18n-processed components.

What your security team should do

  • Immediately upgrade all Angular packages to the fixed versions listed in remediation guidance
  • Implement build-time checks that reject translation files containing event-handler attributes
  • Review and restrict permissions on translation file sources and CI pipelines
  • Monitor EPSS and exploit maturity indicators for any future increase in risk

The record

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.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities