CVE-2025-53624
The Docusaurus gists plugin adds a page to your Docusaurus …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/webbertakken/docusaurus-plugin-content-gists/commit/8d4230b82412edb215ddfa9e609
- github.com/webbertakken/docusaurus-plugin-content-gists/security/advisories/GHSA-qf34-qpr4
- nvd.nist.gov/vuln/detail/CVE-2025-53624
- github.com/advisories/GHSA-qf34-qpr4-5pph
- nvd.nist.gov/vuln/detail/CVE-2025-53624
- cve.org/CVERecord?id=CVE-2025-53624
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.