Vulnerability · Published Jun 24, 2026 · Assigned by HeroDevs
CVE-2026-11998AngularJS XSS via SCE resource URL sanitization bypass
High 7.6
In plain English
A high-severity cross-site scripting in AngularJS from Google. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities).
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | angular.js | no fix listed | DEBIAN-CVE-2026-11998 |
| Debian:13 | angular.js | no fix listed | DEBIAN-CVE-2026-11998 |
| Ubuntu:22.04:LTS | angular.js | no fix listed | UBUNTU-CVE-2026-11998 |
| Ubuntu:24.04:LTS | angular.js | no fix listed | UBUNTU-CVE-2026-11998 |
| Ubuntu:25.10 | angular.js | no fix listed | UBUNTU-CVE-2026-11998 |
| Ubuntu:26.04:LTS | angular.js | no fix listed | UBUNTU-CVE-2026-11998 |
| Ubuntu:26.10 | angular.js | no fix listed | UBUNTU-CVE-2026-11998 |
| npm | angular | no fix listed | GHSA-7x27-g8rg-x87w |
Affected products (as reported)
Weakness: CWE-791, CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
References
- https://www.herodevs.com/vulnerability-directory/cve-2026-11998 third-party-advisory
- https://codepen.io/herodevs/pen/JobQdmz/5b3896f56fab66f20cd25e698cf3faa8 exploit, technical-description
- https://www.herodevs.com/vulnerability-directory/cve-2026-11998?nes-for-angularjs exploit
- https://access.redhat.com/security/cve/CVE-2026-11998 vdb-entry, x_refsource_REDHAT
- RHBZ#2492579 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11998.json x_sadp-csaf-vex