Vulnerability · Published Jul 9, 2025 · Assigned by GitHub_M
CVE-2025-53624docusaurus-plugin-content-gists Exposes GitHub Personal Access Token
Critical 10.0
In plain English
A critical-severity information exposure in docusaurus-plugin-content-gists from webbertakken. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 81% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | docusaurus-plugin-content-gists | 4.0.0 | GHSA-qf34-qpr4-5pph |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| webbertakken | docusaurus-plugin-content-gists | < 4.0.0 |
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H