CVE-2026-11998
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 .
Weakness
- CWE-791: Incomplete Filtering of Special Elements
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-06-25 |
Timeline
- 2026-06-24Published by the CNA20:29 UTC
- 2026-06-24GitHub advisory published (GHSA-7x27-g8rg-x87w)same day
- 2026-06-25CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-7x27-g8rg-x87w, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm angular | from 1.2.0-rc.3 through 1.8.3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| google angularjs |
References
- https://codepen.io/herodevs/pen/JobQdmz/5b3896f56fab66f20cd25e698cf3faa8
- https://access.redhat.com/security/cve/CVE-2026-11998
- https://bugzilla.redhat.com/show_bug.cgi?id=2492579
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11998.json
- https://www.herodevs.com/vulnerability-directory/cve-2026-11998
- https://www.herodevs.com/vulnerability-directory/cve-2026-11998?nes-for-angularjs
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-11998'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-11998'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-11998'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-11998'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).