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

CVE-2023-26118: angular vulnerable to regular expression denial of service via the <input type="url"> element

March 30, 2023 (updated February 14, 2025)

All versions of the package angular are vulnerable to Regular Expression Denial of Service (ReDoS) via the element due to the usage of an insecure regular expression in the input[url] functionality. Exploiting this vulnerability is possible by a large carefully-crafted input, which can result in catastrophic backtracking.

References

  • github.com/advisories/GHSA-qwqh-hm9m-p5hr
  • github.com/angular/angular.js
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OQWJLE5WE33WNMA54XSJIDXBRK2KL3XJ
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UDKFLKJ6VZKL52AFVW2OVZRMJWHMW55K
  • nvd.nist.gov/vuln/detail/CVE-2023-26118
  • security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-5406326
  • security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBANGULAR-5406328
  • security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-5406327
  • security.snyk.io/vuln/SNYK-JS-ANGULAR-3373046
  • stackblitz.com/edit/angularjs-vulnerability-inpur-url-validation-redos

Code Behaviors & Features

Detect and mitigate CVE-2023-26118 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 up to 1.8.3

Solution

Unfortunately, there is no solution available yet.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/angular/CVE-2023-26118.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:16:14 +0000.