Live threats

All CVEs / octokit

CVE-2025-25288octokit plugin-paginate-rest.js

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
—
Auth required
No
Published
Feb 14, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

@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.

Original NVD text.

What to do

  1. Apply the vendor's security update for plugin-paginate-rest.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @octokit/plugin-paginate-rest ≥ 9.3.0-beta.1 < 11.4.1 11.4.1 npm install @octokit/plugin-paginate-rest@11.4.1
npm @octokit/plugin-paginate-rest ≥ 1.0.0 < 9.2.2 9.2.2 npm install @octokit/plugin-paginate-rest@9.2.2

Per OSV / GitHub Advisories (GHSA-h5c3-5r3r-rr8q). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.