Sensitive Data Exposure in Docusaurus Plugin by webbertakken
CVE-2025-53624
10CRITICAL
What is CVE-2025-53624?
The Docusaurus gists plugin introduces a vulnerability that allows GitHub Personal Access Tokens to be exposed in production build artifacts. This occurs when tokens, which are meant solely for build-time API access, are improperly included in client-side JavaScript bundles through plugin configuration. As a result, anyone with access to the website's source code can retrieve these sensitive tokens. To mitigate this issue, it is crucial to upgrade to version 4.0.0 or later, which addresses the vulnerability effectively.
Affected Version(s)
docusaurus-plugin-content-gists < 4.0.0
References
EPSS Score
5% chance of being exploited in the next 30 days.
CVSS V3.1
Score:
10
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Changed
Timeline
Vulnerability published
Vulnerability Reserved