Vulnerability in Angularjs Angular.js

CVE-2024-21490

This affects versions of the package angular from 1.3.0; versions of the package angularjs from 1.3.0. A regular expression used to split the value of the ng-srcset directive is vulnerable to super-linear runtime due to backtracking. With large carefully-crafted input, this can result in catastrophic backtracking and cause a denial of service. **Note:** This package is EOL and will not receive any updates to address this issue. Users should migrate to [@angular/core](https://www.npmjs.com/package/@angular/core).

Vulnerability class: ReDoS (Regular Expression Denial of Service)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.019, 79.9th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Angularjs Angular.js
  • Angular — versions 1.3.0
  • Angularjs — versions 1.3.0
  • Org.webjars.bower:angular — versions 1.3.0
  • Org.webjars.npm:angular — versions 1.3.0

Weakness classification (CWE)

Public exploits and proof-of-concept code

1 public repository with exploit or proof-of-concept code for this CVE:

  • RoninForge/roninforge-angularjs-migration (last pushed 2026-06-10): AngularJS 1.x -> Angular 18 migration guidance for GitHub Copilot. Source-of-truth repo for github/awesome-copilot/instructions/angularjs-to-angular-18.instructions.md. 62 LLM regressions across 3 mo…

Also mentioned in 4 other repositories (eleni1029/250714_Weakness_Scan, fkie-cad/nvd-json-data-feeds, patrikx3/redis-ui, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References