PT-2026-89561
CVE-2026-88057
·
تاريخ النشر
2026-09-10
·
تاريخ التحديث
2026-11-11
الوصف من
CVSS 3.1
6.1
متوسطةالمقاييسAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Angular versions prior to 20.3.28
Angular versions prior to 21.2.20
Angular versions prior to 22.1.0
Description
The compiler and runtime in @angular/core and @angular/compiler may omit or select an incorrect sanitizer for security-sensitive directive host bindings. This occurs because the
SecurityContext is derived from the declaring directive or component selector instead of the concrete host element. This mismatch can be triggered via hostDirectives composition, inherited HostBinding declarations, createComponent with a custom hostElement or dynamic directives, SVG/MathML namespace elements, and tag-neutral selectors such as :not(...). Consequently, attacker-controlled values assigned to href, src, action, xlink:href, or data can bypass Angular's built-in sanitizer and execute arbitrary JavaScript in the user's browser context, leading to Cross-Site Scripting (XSS).Recommendations
Update to version 20.3.28 or later.
Update to version 21.2.20 or later.
Update to version 22.1.0 or later.
As a temporary workaround, use
DomSanitizer.sanitize with SecurityContext.URL before assignment or restrict inputs to validated HTTP and HTTPS URL schemes.قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾