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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| webbertakken | docusaurus-plugin-content-gists | < 4.0.0 | — |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Docusaurus Gists Plugin < 4.0.0 - GitHub Personal Access Token Exposure http/cves/2025/CVE-2025-53624.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | docusaurus-plugin-content-gists | < 4.0.0 | 4.0.0 | GHSA-qf34-qpr4-5pph |