CVE-2025-25288
MEDIUM 5.3CVSS 3.1@octokit/plugin-paginate-rest has a Regular Expression in iterator Leads to ReDoS Vulnerability Due to Catastrophic Backtracking
@octokit/plugin-paginate-rest is the Octokit plugin to paginate REST API endpoint responses. For versions starting in 1.0.0 and prior to 11.4.1 of the npm package @octokit/plugin-paginate-rest, when calling octokit.paginate.iterator(), a specially crafted octokit instance—particularly with a malicious link parameter in the headers section of the request—can trigger a ReDoS attack. Version 11.4.1 contains a fix for the issue.
- Published
- 14 Feb 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1333
- Also known as
- GHSA-h5c3-5r3r-rr8q
- Sources
- NVDJSONOSV GHSA-h5c3-5r3r-rr8qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @octokit/plugin-paginate-rest | >= 9.3.0-beta.1, < 11.4.1 | 11.4.1 |
| OSV | npm | @octokit/plugin-paginate-rest | >= 1.0.0, < 9.2.2 | 9.2.2 |
References
- https://github.com/octokit/plugin-paginate-rest.js/blob/main/src/iterator.ts · WEB
- https://github.com/octokit/plugin-paginate-rest.js/commit/bb6c4f945d8023902cf387391d2b2209261044ab · WEB
- https://github.com/octokit/plugin-paginate-rest.js/security/advisories/GHSA-h5c3-5r3r-rr8q · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-25288 · ADVISORY
- https://github.com/octokit/plugin-paginate-rest.js · PACKAGE
- https://github.com/octokit/plugin-paginate-rest.js/releases/tag/v9.2.2 · WEB
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 14 Feb 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 Feb 2025)