CVE-2025-25288
@octokit/plugin-paginate-rest is the Octokit plugin to paginate …
@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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/octokit/plugin-paginate-rest.js/blob/main/src/iterator.ts
- github.com/octokit/plugin-paginate-rest.js/commit/bb6c4f945d8023902cf387391d2b2209261044ab
- github.com/octokit/plugin-paginate-rest.js/security/advisories/GHSA-h5c3-5r3r-rr8q
- nvd.nist.gov/vuln/detail/CVE-2025-25288
- github.com/octokit/plugin-paginate-rest.js/releases/tag/v9.2.2
- github.com/advisories/GHSA-h5c3-5r3r-rr8q
- nvd.nist.gov/vuln/detail/CVE-2025-25288
- cve.org/CVERecord?id=CVE-2025-25288
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.