CVE-2025-25285: octokit endpoint.js
Vulnerability summary
CVE-2025-25285 is a medium (CVSS 5.3) vulnerability in octokit endpoint.js. EPSS estimates a 0.63% chance of exploitation in the next 30 days, higher than 49.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 14-02-2025PublishedVulnerability first disclosed.
- 14-02-2025Last modifiedVulnerability information updated.
Description
@octokit/endpoint turns REST API endpoints into generic request options. Starting in version 4.1.0 and prior to version 10.1.3, by crafting specific `options` parameters, the `endpoint.parse(options)` call can be triggered, leading to a regular expression denial-of-service (ReDoS) attack. This causes the program to hang and results in high CPU utilization. The issue occurs in the `parse` function within the `parse.ts` file of the npm package `@octokit/endpoint`. Version 10.1.3 contains a patch for the issue.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · NpmEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.63%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
0.00 pp
From 0.63% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
@octokit1 product
- endpoint≥ 9.0.5, < 9.0.6 | ≥ 10.0.0, < 10.1.3
Chainguard1 product
- renovate< 39.174.0-r0
Octokit1 product
- endpoint.js≥ 4.1.0, < 10.1.3
Wolfi1 product
- renovate< 39.174.0-r0
4 vendors · 4 products
References
6 links- github.com/octokit/endpoint.js/security/advisories/GHSA-x4c5-c7rf-jjgvX Refsource CONFIRMAdvisoryWEB
- github.com/octokit/endpoint.js/commit/6c9c5be033c450d436efb37de41b6470c22f7db8X Refsource MISCFIXWEB