CVE-2025-53624

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

Published Jul 9, 2025 CVSS 3.1 · 10 Critical EPSS 2.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-20874 docusaurus-plugin-content-gists vulnerability exposes GitHub Personal Access Token
Github GHSA Github GHSA GHSA-qf34-qpr4-5pph docusaurus-plugin-content-gists vulnerability exposes GitHub Personal Access Token
History
Type Values Removed Values Added
Metrics epss

{'score': 0.07286}

epss

{'score': 0.05438}

Type Values Removed Values Added
Metrics epss

{'score': 0.05666}

epss

{'score': 0.07286}

Type Values Removed Values Added
Metrics epss

{'score': 0.00043}

epss

{'score': 0.05666}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title docusaurus-plugin-content-gists Exposes GitHub Personal Access Token
Weaknesses CWE-200
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 10, 2025, 3:18 PM
Reserved
Jul 7, 2025, 2:20 PM
Status
Deferred
Published
Jul 9, 2025, 9:15 PM
Modified
Jun 17, 2026, 9:38 AM