CVE-2023-26117: Angular Remote Code Execution Vulnerability
MODERATECVE-2023-26117 is a MODERATE (CVSS 5.3) remote code execution vulnerability (CWE-1333: Inefficient Regular Expression Complexity) affecting Angular libraries in the npm ecosystem. The issue involves angular vulnerable to regular expression denial of service via the $resource service. Remediation is available in the latest vendor maintenance releases.
CVE-2023-26117 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).
How to Fix CVE-2023-26117
To remediate this vulnerability, upgrade all affected Angular dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install angular@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls angular
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2023-26117, inspect your project dependencies using npm:
npm ls angular
Analyze the terminal output to locate any version of Angular in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls angular command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1333: Inefficient Regular Expression Complexity, where the product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential. In Angular, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-26117 Affected Angular Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
angular
|
npm |
≤ 1.8.3
|
|
References
Frequently Asked Questions
What is CVE-2023-26117?
Which Angular versions are affected?
What version fixes CVE-2023-26117?
Is angular affected?
What is the CVSS score of CVE-2023-26117?
What CWE is associated with CVE-2023-26117?
How can I check npm dependencies for CVE-2023-26117?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2qqx-w9hr-q5gx",
"modified" : "2025-11-03T22:30:32Z",
"published" : "2023-03-30T06:30:26Z",
"aliases" : [ "CVE-2023-26117" ],
"summary" : "angular vulnerable to regular expression denial of service via the $resource service",
"details" : "All versions of the package angular are vulnerable to Regular Expression Denial of Service (ReDoS) via the $resource service due to the usage of an insecure regular expression. Exploiting this vulnerability is possible by a large carefully-crafted input, which can result in catastrophic backtracking.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "angular"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.8.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-26117"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/angular/angular.js"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OQWJLE5WE33WNMA54XSJIDXBRK2KL3XJ"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UDKFLKJ6VZKL52AFVW2OVZRMJWHMW55K"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-5406323"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBANGULAR-5406325"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-5406324"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-JS-ANGULAR-3373045"
}, {
"type" : "WEB",
"url" : "https://stackblitz.com/edit/angularjs-vulnerability-resource-trailing-slashes-redos"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1333" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-04-03T13:07:46Z",
"nvd_published_at" : "2023-03-30T05:15:00Z"
}
}