CVE 7.6 HIGH

AngularJS XSS via SCE resource URL sanitization bypass_CVE-2026-11998

7.6 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L

Description

A flaw in AngularJS' Strict Contextual Escaping (SCE) logic allows bypassing certain SCE policies for resource URLs and can lead to arbitrary JavaScript execution within the context of the victim's browser session.


SCE's purpose is to ensure that only trusted or safe values are used in certain security-sensitive contexts, such as resource URLs, including URLs that define executable JavaScript scripts, '<iframe>' documents, route templates, etc. A flaw in the logic that tries to match entire URLs against regular expression matchers can result in partial matches for certain types of regular expressions, effectively bypassing the policies and allowing the use of unsafe values as resource URLs.


This issue affects AngularJS versions greater than or equal to 1.2.0-rc.3.


Note:
The AngularJS project was already End-of-Life when this CVE was published and will not receive any updates to address this issue. For more information see theΒ  End-of-Life announcement https://docs.angularjs.org/misc/version-support-status .

Basic Information

ID CVE-2026-11998
Source HeroDevs
Published Jun 24, 2026 at 20:29

Affected Product

Vendor Google
Product AngularJS
Version >=1.2.0-rc.3
Affected Versions Google AngularJS >=1.2.0-rc.3

CWE Classification

References

πŸ’­ Join the Security Discussion

πŸ”’ Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.