High

Angular's deprecated package has a Cross-Site Scripting issue

  • Disclosed: 24.06.2026
  • Updated: 11.10.2026 10:22

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.

PlatformPackageVulnerable versionsFixed in
npm package angular >= 1.2.0-rc.3, <= 1.8.3 no fix

References

CVSS score 7.6/10
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.

All (15) in the archive
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

  1. 2019: 2
  2. 2020: 3
  3. 2021: 0
  4. 2022: 2
  5. 2023: 3
  6. 2024: 3
  7. 2025: 1
  8. 2026: 1
Severity:
  1. Angular's deprecated package has a Cross-Site Scripting issue this entry
    High · 7.6 CVE-2026-11998 >= 1.2.0-rc.3, <= 1.8.3 no fix
  2. High · 7.5 CVE-2024-21490 >= 1.3.0, <= 1.8.3 no fix
  3. High · 7.5 CVE-2019-10768 < 1.7.9 1.7.9

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.