Regular Expression Denial of Service Vulnerability in AngularJS

angular.js Updated 14 Dec 2025

Summary

19/08/2025
N/A
No i
Medium
4.3

DEBIAN-CVE-2025-4690: A regular expression used by AngularJS'  linky https://docs.angularjs.org/api/ngSanitize/filter/linky  filter to detect URLs in input text is vulnerable to super-linear runtime due to backtracking. Affects angular.js versions 1.8.2-2 – 1.8.3-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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

AngularJS is a widely-used open-source web application framework that allows developers to create dynamic single-page applications. It provides features such as two-way data binding, dependency injection, and a modular architecture. However, AngularJS has reached its End-of-Life status, meaning it no longer receives updates or security patches, making it vulnerable to various security issues, including the one described here.

Vulnerability Detail

The vulnerability arises from a regular expression used by AngularJS's linky filter, which is responsible for detecting URLs in input text. This regular expression is susceptible to super-linear runtime due to backtracking, leading to a Regular Expression Denial of Service (ReDoS) attack. An attacker can exploit this vulnerability by crafting a large input that causes the application to hang or crash, severely impacting its availability. This issue affects all versions of AngularJS, and since the project is no longer maintained, no official fix will be provided.

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

There are no specific workarounds available for this vulnerability due to the nature of the issue and the lack of updates for AngularJS. However, you can implement input validation and sanitization to mitigate the risk of malicious input being processed by the application.

Conclusion

The Regular Expression Denial of Service vulnerability in AngularJS poses a significant risk to applications still using this framework. With no patches available due to its End-of-Life status, it is crucial for developers to consider migrating to a supported framework to ensure ongoing security and stability.

See every vulnerability recorded for angular.js →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 4.3, indicating a moderate level of risk.

All versions of AngularJS are affected by this vulnerability.

A ReDoS attack exploits the inefficiencies of regular expressions, causing the application to consume excessive resources and potentially crash.

No, there is no patch available as AngularJS has reached its End-of-Life status and will not receive updates.

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.

Related vulnerabilities

Recent vulnerabilities recorded for angular.js.

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