Webbertakken docusaurus-plugin-content-gists
docusaurus-plugin-content-gists Exposes GitHub Personal Access Token
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.0.0
Fixed in 4.0.0
Mitigation
Upgrade docusaurus-plugin-content-gists to 4.0.0 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 13 h after publication; not in CISA KEV. First PoC: nuclei template: Docusaurus Gists Plugin < 4.0.0 - GitHub Personal Access Token Exposure (nuclei template, 10 Jul 2025).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Docusaurus Gists Plugin < 4.0.0 - GitHub Personal Access Token Exposure | 10 Jul 2025 | 14 Nov 2026 |