Security Digest · Vulnerability record
CVE-2025-53624: docusaurus-plugin-content-gists vulnerability exposes GitHub Personal Access Token
The Docusaurus gists plugin adds a page to your Docusaurus instance, displaying all public gists of a GitHub user.
CVSS 10.0 Critical EPSS 2.0% · p81
Should you act?
Critical and remotely reachable
No known exploitation yet, but it is network-reachable without credentials. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.
- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 2.0%, percentile 81: FIRST’s model estimates a 2.0% chance of exploitation activity in the next 30 days, higher than 81% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes
docusaurus-plugin-content-gists(npm) < 4.0.0, fixed in 4.0.0. Check your lockfile, including transitive dependencies.
What it is
The Docusaurus gists plugin adds a page to your Docusaurus instance, displaying all public gists of a GitHub user. docusaurus-plugin-content-gists versions prior to 4.0.0 are vulnerable to exposing GitHub Personal Access Tokens in production build artifacts when passed through plugin configuration options. The token, intended for build-time API access only, is inadvertently included in client-side JavaScript bundles, making it accessible to anyone who can view the website's source code. This vulnerability is fixed in 4.0.0.
From the GitHub advisory
GitHub Personal Access Token Exposure in docusaurus-plugin-content-gists
Summary
docusaurus-plugin-content-gists versions prior to 4.0.0 are vulnerable to exposing GitHub Personal Access Tokens in production build artifacts when passed through plugin configuration options. The token, intended for build-time API access only, is inadvertently included in client-side JavaScript bundles, making it accessible to anyone who can view the website's source code.
Affected Versions
- All versions
Weakness type: CWE-200.
Product: docusaurus-plugin-content-gists (npm) · Assigned by: GitHub_M · Published: 2025-07-09
Affected and fixed versions
| Ecosystem | Package | Vulnerable | First fixed |
|---|---|---|---|
| npm | docusaurus-plugin-content-gists | < 4.0.0 | 4.0.0 |
| Vendor | Product | Affected versions (per CVE record) |
|---|---|---|
| webbertakken | docusaurus-plugin-content-gists | < 4.0.0 |
Severity scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_M | 3.1 | 10 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
- Attack vector: network (remotely reachable)
- Attack complexity: low
- Privileges required: none (no login)
- User interaction: none
- Scope: changed (can affect other components)
CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.
Exploitation and urgency
- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none, automatable yes, technical impact total.
- FIRST EPSS (model of 2026-10-21): 2.05% probability of exploitation activity in the next 30 days; percentile 81.
Timeline
- — CVE record published by GitHub_M
- — GitHub-reviewed advisory GHSA-qf34-qpr4-5pph published (critical)
- — CVE record last updated
Sources and references
Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.
Vulnerability records
- GitHub Advisory GHSA-qf34-qpr4-5pph github.com
- CVE.org record CVE-2025-53624 cve.org
- NVD entry CVE-2025-53624 nvd.nist.gov
Other references from the CVE record and advisory
- github.com github.com
- github.com github.com