MediumGHSA-m2h2-264f-f486CVE-2022-25844

angular vulnerable to regular expression denial of service (ReDoS)

Published 3 May 2022 · Updated 10 Sept 2026

Affected package

Affected
>=1.7.0
Fixed in
No fix released

Details

AngularJS lets users write client-side web applications. The package angular after 1.7.0 is vulnerable to Regular Expression Denial of Service (ReDoS) by providing a custom locale rule that makes it possible to assign the parameter in posPre: ' '.repeat() of NUMBER_FORMATS.PATTERNS[1].posPre with a very high value.

Note: 1. This package has been deprecated and is no longer maintained. 2. The vulnerable versions are 1.7.0 and higher.

Is GHSA-m2h2-264f-f486 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected angular, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.