AngularJS XSS via SCE resource URL sanitization bypass
Summary
| CVE | CVE-2026-11998 |
|---|---|
| State | PUBLISHED |
| Assigner | HeroDevs |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-24 21:16:52 UTC |
| Updated | 2026-06-25 20:20:44 UTC |
| 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 . |
Risk And Classification
Primary CVSS: v3.1 7.6 HIGH from 36c7be3b-2937-45df-85ea-ca7133ea542c
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
EPSS: 0.001920000 probability, percentile 0.091110000 (date 2026-06-25)
Problem Types: CWE-791 | CWE-791 CWE-791 Incomplete filtering of special elements
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 36c7be3b-2937-45df-85ea-ca7133ea542c | Secondary | 7.6 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L |
| 3.1 | CNA | CVSS | 7.6 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
LowAvailability
LowCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.herodevs.com/vulnerability-directory/cve-2026-11998 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | www.herodevs.com | |
| codepen.io/herodevs/pen/JobQdmz/5b3896f56fab66f20cd25e698cf3faa8 | 36c7be3b-2937-45df-85ea-ca7133ea542c | codepen.io | |
| www.herodevs.com/vulnerability-directory/cve-2026-11998 | 36c7be3b-2937-45df-85ea-ca7133ea542c | www.herodevs.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.