CVE-2026-11998: AngularJS Cross-Site Scripting Vulnerability in Deprecated Package

angular Updated 18 Jul 2026

Summary

24/06/2026
No i
High
7.6

CVE-2026-11998: Angular's deprecated package has a Cross-Site Scripting issue. Affects angular versions >= 1.2.0-rc.3, <= 1.8.3. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

AngularJS is a widely used open-source web application framework maintained by Google, designed to facilitate the development of dynamic web applications. It allows developers to create single-page applications using HTML as the template language and extends HTML's syntax to express application components clearly and succinctly. Despite its powerful features, AngularJS has been declared End-of-Life, meaning it no longer receives updates or support, making it vulnerable to security issues such as the one described here.

Vulnerability Detail

A flaw in AngularJS' Strict Contextual Escaping (SCE) logic allows attackers to bypass certain SCE policies for resource URLs. This can lead to arbitrary JavaScript execution within the victim's browser session. The vulnerability arises from the logic that matches entire URLs against regular expressions, which can result in partial matches for certain types of regex patterns. This flaw affects AngularJS versions greater than or equal to 1.2.0-rc.3 and can have severe implications, including unauthorized access to sensitive data and the execution of malicious scripts.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As there are no patches available due to the End-of-Life status of AngularJS, the best workaround is to avoid using AngularJS for new projects and to migrate existing applications to a more secure and supported framework. Additionally, ensure that any user input is properly sanitized to mitigate the risk of XSS attacks.

Conclusion

The vulnerability identified as CVE-2026-11998 in AngularJS poses a significant risk due to its potential for Cross-Site Scripting attacks. With AngularJS being End-of-Life, users are strongly encouraged to migrate to supported frameworks to ensure ongoing security. Regular monitoring and adherence to best practices in web security are essential to mitigate risks associated with deprecated software.

See every vulnerability recorded for angular →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 7.6, indicating a high severity level.

All versions of AngularJS greater than or equal to 1.2.0-rc.3 are affected by this vulnerability.

End-of-Life means that AngularJS will no longer receive updates, including security patches, making it vulnerable to new threats.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.

If migration is not feasible, ensure that you implement strong input validation and sanitization practices to reduce the risk of XSS attacks.

Related vulnerabilities

Recent vulnerabilities recorded for angular.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback