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 .
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| AngularJS | >=1.2.0-rc.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | angular.js | No fix yet | — |
| Debian 12 | angular.js | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | angular.js | No fix yet | — |
| Ubuntu 26.04 LTS | angular.js | No fix yet | — |
| Ubuntu 25.10 | angular.js | No fix yet | — |
| Ubuntu 24.04 LTS | angular.js | No fix yet | — |
| Ubuntu 22.04 LTS | angular.js | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | angular.js | No fix yet | — |
| Ubuntu Pro 18.04 LTS | angular.js | No fix yet | — |
| Ubuntu Pro 16.04 LTS | angular.js | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | solr-10 +1 | 10.1.0-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | angular | >= 1.2.0-rc.3, <= 1.8.3 | — | GHSA-7x27-g8rg-x87w |
References
- https://www.herodevs.com/vulnerability-directory/cve-2026-11998 third-party-advisory
- https://codepen.io/herodevs/pen/JobQdmz/5b3896f56fab66f20cd25e698cf3faa8 exploit technical-description