CVE-2026-11998: AngularJS XSS via SCE resource URL sanitization bypass

Published Jun 24, 2026
·
Updated

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 .

Affected Software

1 affected component
Google AngularJS>=undefined

Event History

Jun 24, 2026
CVE Published
via MITRE·08:29 PM
Data Sourced
via MITRE·08:29 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·10:02 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-11998?

CVE-2026-11998 has a high severity rating of 7.6.

2

How do I fix CVE-2026-11998?

To mitigate CVE-2026-11998, update to the latest version of AngularJS that addresses this vulnerability.

3

What type of vulnerability is CVE-2026-11998?

CVE-2026-11998 is an XSS vulnerability due to the bypass of Strict Contextual Escaping in AngularJS.

4

What can attackers do with CVE-2026-11998?

Attackers can exploit CVE-2026-11998 to execute arbitrary JavaScript within the victim's browser session.

5

Which software is affected by CVE-2026-11998?

CVE-2026-11998 affects Google AngularJS software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203