This is a summary of the AI-generated 10-question deep analysis. The full version (longer answers, follow-up Q&A, related CVEs) requires login. Read the full analysis β
Q1What is this vulnerability? (Essence + Consequences)
π¨ **Essence**: A critical info leak in `docusaurus-plugin-content-gists` (< v4.0.0). π **Consequences**: GitHub Personal Access Tokens (PATs) are baked into client-side JS bundles.β¦
π‘οΈ **CWE-200**: Information Exposure. π **Flaw**: The plugin incorrectly passes build-time API tokens into the production frontend bundle. It treats sensitive secrets as public data. π
Q3Who is affected? (Versions/Components)
π₯ **Affected**: Users of `docusaurus-plugin-content-gists` versions **prior to 4.0.0**. π’ **Vendor**: Webber Takken. π **Component**: The Gists plugin for Docusaurus sites. β οΈ
Q4What can hackers do? (Privileges/Data)
π΅οΈ **Hackers Can**: Extract valid GitHub PATs from the page source. π **Privileges**: Full access to the GitHub account associated with the token (read/write repos, gists, etc.).β¦
π **Threshold**: LOW. πͺ **Auth**: None required. π **Config**: Any public Docusaurus site using the vulnerable plugin version is exposed. No special access needed to view source code. ποΈ
Q6Is there a public Exp? (PoC/Wild Exploitation)
π **Public Exp?**: YES. π **PoC**: Available via ProjectDiscovery Nuclei templates. π **Wild Exp**: Automated scanning tools can detect and exploit this easily. π
Q7How to self-check? (Features/Scanning)
π **Self-Check**: 1. Check plugin version in `package.json`. 2. Inspect browser DevTools (Network/Source) for `ghp_` or `github_pat_` strings. 3. Run Nuclei CVE-2025-53624 template. π§ͺ
Q8Is it fixed officially? (Patch/Mitigation)
β **Fixed**: YES. π οΈ **Patch**: Upgrade to version **4.0.0** or later. π **Mitigation**: The vendor released a fix to prevent token leakage into client bundles. π’
Q9What if no patch? (Workaround)
π§ **No Patch?**: 1. **Rotate** the leaked GitHub token IMMEDIATELY. π« 2. Remove the plugin or restrict access. 3. Do NOT commit secrets to frontend config. π
Q10Is it urgent? (Priority Suggestion)
π₯ **Urgency**: CRITICAL. π¨ **Priority**: P0. β±οΈ **Action**: Patch immediately. Leaked tokens allow full GitHub account takeover. Do not delay! πββοΈ