Skip to content
OpenAdvisories
Critical · 10.0 Scanner template CVE-2025-53624 EUVD-2025-20874GHSA-qf34-qpr4-5pph

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

Published Jul 9, 2025 · Updated Jul 10, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
webbertakken docusaurus-plugin-content-gists < 4.0.0 —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
npm docusaurus-plugin-content-gists < 4.0.0 4.0.0 GHSA-qf34-qpr4-5pph

References