CVE-2025-53624CWE-200

docusaurus-plugin-content-gists Exposes GitHub Personal Access Token

Critical · published July 9, 2025

CVSS v3.1
10.0
EPSS
2%
Percentile
81.1
In the wild
Unconfirmed
What it is

🚨 A GitHub Personal Access Token is accidentally exposed, potentially compromising your Docusaurus site! 🔥 Think of it like accidentally leaving your front door open during a party, inviting anyone to walk in and take what they want — in this case, sensitive tokens instead of snacks. If exploited, anyone could access your GitHub account using those exposed tokens, leading to unauthorized actions on your repositories or deploying harmful changes. It’s a recipe for chaos and could severely undermine your project’s integrity!

Put simply

Think of it like accidentally leaving your front door open during a party, inviting anyone to walk in and take what they want — in this case, sensitive tokens instead of snacks. This vulnerability in docusaurus-plugin-content-gists allows GitHub Personal Access Tokens, meant for build-time use only, to leak into client-side JavaScript bundles. As a result, anyone viewing the website's source code can access these tokens.

What to do

If exploited, anyone could access your GitHub account using those exposed tokens, leading to unauthorized actions on your repositories or deploying harmful changes. It’s a recipe for chaos and could severely undermine your project’s integrity! Upgrade docusaurus-plugin-content-gists to version 4.0.0 immediately to mitigate this risk. Additionally, review any code that may include sensitive information in client-side bundles to ensure you’re not exposing anything else. Always monitor your GitHub access tokens and rotate them if they've been exposed! You've got this! Follow these steps to secure your Docusaurus site and keep those tokens locked up tight! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02048 · 81.1th percentile
Weakness
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
Published
2025-07-09T21:08Z
EPSS history
Timeline
  • 09 JUL 21:08Z
    docusaurus-plugin-content-gists Exposes GitHub Personal Access Token
    cvelistv5