Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. angular
  4. ›
  5. CVE-2026-11998

CVE-2026-11998: Angular's deprecated package has a Cross-Site Scripting issue

June 24, 2026 (updated July 17, 2026)

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, ‘’ 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 .

References

  • access.redhat.com/security/cve/CVE-2026-11998
  • bugzilla.redhat.com/show_bug.cgi?id=2492579
  • codepen.io/herodevs/pen/JobQdmz/5b3896f56fab66f20cd25e698cf3faa8
  • github.com/advisories/GHSA-7x27-g8rg-x87w
  • nvd.nist.gov/vuln/detail/CVE-2026-11998
  • security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11998.json
  • www.herodevs.com/vulnerability-directory/cve-2026-11998
  • www.herodevs.com/vulnerability-directory/cve-2026-11998?nes-for-angularjs

Code Behaviors & Features

Detect and mitigate CVE-2026-11998 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.2.0-rc.3 up to 1.8.3

Solution

Unfortunately, there is no solution available yet.

Impact 7.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-791: Incomplete Filtering of Special Elements

Source file

npm/angular/CVE-2026-11998.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 21 Jul 2026 12:22:36 +0000.