CVE-2025-53624 Details
Description
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.
A vulnerability exists in the Docusaurus gists plugin, specifically in versions prior to 4.0.0. When GitHub Personal Access Tokens (PATs) are included through plugin configuration options, they can be inadvertently exposed in production build artifacts. This exposure occurs because the tokens, meant for build-time API access, are included in client-side JavaScript bundles. As a result, anyone who can access the website's source code can retrieve the token. The vulnerability has been addressed in version 4.0.0.
Users should update to Docusaurus gists plugin version 4.0.0 or later. After updating, remove the personalAccessToken option from the plugin configuration and ensure that the GH_PERSONAL_ACCESS_TOKEN environment variable is set in the build environment.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 9, 2025CISA-ADP
Assessed Jul 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| webbertakken docusaurus-plugin-content-gists | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 9, 2025 | New CVE Received | [email protected] |
Volerion