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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-53624
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 18:24 UTC · Revision 1
Source evidence
docusaurus-plugin-content-gists Exposes GitHub Personal Access Token
core-osv · Original sourcePublished 9 Jul 2025, 21:08 UTC
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.
osv:CVE-2025-53624
Complete source record
{
"id": "ba06f553bee1328858c19188b61bdcf3914a950327d9ae8929541d229cc40dc6",
"url": "https://osv.dev/vulnerability/CVE-2025-53624",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "docusaurus-plugin-content-gists Exposes GitHub Personal Access Token",
"summary": "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.",
"evidence": "osv:CVE-2025-53624",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2025-53624",
"aliases": [
"CVE-2025-53624",
"GHSA-qf34-qpr4-5pph"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/webbertakken/docusaurus-plugin-content-gists",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "8d4230b82412edb215ddfa9e609d178510a5fe31"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "4.0.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "8d4230b82412edb215ddfa9e609d178510a5fe31"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "4.0.0"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v3.1.0",
"v3.0.0",
"v0.1.3",
"v0.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53624.json"
}
}
],
"modified": "2026-10-28T02:30:38.499086278Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53624.json",
"https://github.com/webbertakken/docusaurus-plugin-content-gists/security/advisories/GHSA-qf34-qpr4-5pph",
"https://nvd.nist.gov/vuln/detail/CVE-2025-53624",
"https://github.com/webbertakken/docusaurus-plugin-content-gists/commit/8d4230b82412edb215ddfa9e609d178510a5fe31"
],
"provider_metadata": {
"cwe_ids": [
"CWE-200"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53624.json"
}
},
"related_cves": [
{
"value": "CVE-2025-53624",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505659,
"published_at": "2025-07-09T21:08:14.595+00:00"
}