Angular's deprecated package has a Cross-Site Scripting issue
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
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | angular | >= 1.2.0-rc.3, <= 1.8.3 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-11998
- https://access.redhat.com/security/cve/CVE-2026-11998
- https://bugzilla.redhat.com/show_bug.cgi?id=2492579
- https://codepen.io/herodevs/pen/JobQdmz/5b3896f56fab66f20cd25e698cf3faa8
- https://github.com/angular/angular.js
- 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
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L- Weakness (CWE)
CWE-79, CWE-791- Platform
- npm
- Package
angular- Disclosed
- 24.06.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-7x27-g8rg-x87w - CC BY 4.0
Vulnerability history: angular
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 15
- First → latest
- 06.2019 06.2026
- Without a fix
- 10
- Exploited in attacks
- 0
Severity breakdown
- High 3
- Medium 9
- Low 3
Disclosures per year
- 2019: 2
- 2020: 3
- 2021: 0
- 2022: 2
- 2023: 3
- 2024: 3
- 2025: 1
- 2026: 1
-
Angular's deprecated package has a Cross-Site Scripting issue this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.