製品・ソフトウェアに関する情報
AngularのAngularJSにおけるクロスサイトスクリプティングの脆弱性
Title AngularのAngularJSにおけるクロスサイトスクリプティングの脆弱性
Summary

AngularはTypeScript/JavaScriptおよびその他の言語を使用してモバイルおよびデスクトップのウェブアプリケーションを構築するための開発プラットフォームです。22.0.1、21.2.17、および20.3.25より前のバージョンでは、@angular/compilerパッケージにおいて、双方向プロパティバインディングを使用することでDOMプロパティのサニタイズを回避できる問題が存在しました。具体的には、サニタイズが必要なネイティブDOMプロパティ(innerHTML、srcdoc、src、href、data、sandboxなど)が双方向バインディング構文(例:[(innerHTML)]="value" または bindon-innerHTML="value")でバインドされた場合、AngularテンプレートコンパイラはTwoWayProperty操作に対して適切なスキーマ由来のサニタイザー解決を適用できませんでした。その結果、必要なサニタイザ関数なしにネイティブの双方向DOMバインディングが生成され、一方で同等の一方向バインディングは正しくサニタイズされていました。この欠陥により、双方向にバインドされた敏感なプロパティの値を制御できる攻撃者はAngularの組み込みサニタイズロジックを回避でき、クライアント側でクロスサイトスクリプティング(XSS)が引き起こされる可能性があります。この脆弱性は22.0.1、21.2.17、および20.3.25で修正されています。

Possible impacts ・当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date June 22, 2026, midnight
Registration Date June 29, 2026, 11:23 a.m.
Last Update June 29, 2026, 11:23 a.m.
CVSS3.0 : 警告
Score 6.1
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected System
Angular
AngularJS 18.2.14 およびそれ以前
AngularJS 19.0.0 以上 19.2.23 未満
AngularJS 20.0.0 以上 20.3.22 未満
AngularJS 21.0.0 以上 21.2.15 未満
AngularJS 22.0.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年06月29日]
  掲載
June 29, 2026, 11:23 a.m.

NVD Vulnerability Information
CVE-2026-54265
Summary

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.1, 21.2.17, and 20.3.25, an issue in the @angular/compiler package allows bypassing DOM property sanitization through the use of two-way property bindings. Specifically, when a native DOM property that requires sanitization (such as innerHTML, srcdoc, src, href, data, or sandbox) is bound using the two-way binding syntax (e.g., [(innerHTML)]="value" or bindon-innerHTML="value"), the Angular template compiler failed to apply the appropriate schema-derived sanitizer resolution to the TwoWayProperty operation. As a result, native two-way DOM bindings were emitted without the required sanitizer function, whereas equivalent one-way bindings would be properly sanitized. This flaw enables an attacker who can control the value of a two-way bound sensitive property to bypass Angular's built-in sanitization logic, potentially leading to client-side Cross-Site Scripting (XSS). This vulnerability is fixed in 22.0.1, 21.2.17, and 20.3.25.

Publication Date June 23, 2026, 1:16 a.m.
Registration Date June 27, 2026, 4:10 a.m.
Last Update June 27, 2026, 4:35 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* 18.2.14
cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* 19.0.0 19.2.23
cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* 20.0.0 20.3.22
cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* 21.0.0 21.2.15
cpe:2.3:a:angularjs:angularjs:22.0.0:next0:*:*:*:*:*:*
cpe:2.3:a:angularjs:angularjs:22.0.0:next1:*:*:*:*:*:*
cpe:2.3:a:angularjs:angularjs:22.0.0:next10:*:*:*:*:*:*
cpe:2.3:a:angularjs:angularjs:22.0.0:next11:*:*:*:*:*:*
cpe:2.3:a:angularjs:angularjs:22.0.0:next12:*:*:*:*:*:*
cpe:2.3:a:angularjs:angularjs:22.0.0:next2:*:*:*:*:*:*
cpe:2.3:a:angularjs:angularjs:22.0.0:next3:*:*:*:*:*:*
cpe:2.3:a:angularjs:angularjs:22.0.0:next4:*:*:*:*:*:*
cpe:2.3:a:angularjs:angularjs:22.0.0:next5:*:*:*:*:*:*
cpe:2.3:a:angularjs:angularjs:22.0.0:next6:*:*:*:*:*:*
cpe:2.3:a:angularjs:angularjs:22.0.0:next7:*:*:*:*:*:*
cpe:2.3:a:angularjs:angularjs:22.0.0:next8:*:*:*:*:*:*
cpe:2.3:a:angularjs:angularjs:22.0.0:next9:*:*:*:*:*:*
cpe:2.3:a:angularjs:angularjs:22.0.0:rc0:*:*:*:*:*:*
cpe:2.3:a:angularjs:angularjs:22.0.0:rc1:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List