{"answers":{"affected":"2 open source packages ship an affected version, including docusaurus-plugin-content-gists.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-53624 exists.","fix":"Upgrade docusaurus-plugin-content-gists to 4.0.0 or later.","what":"CVE-2025-53624 is a critical vulnerability in webbertakken docusaurus-plugin-content-gists, published on 9 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-53624 and fix it if it is affected.\n\nWhat it is: CVE-2025-53624 is a critical vulnerability in webbertakken docusaurus-plugin-content-gists, published on 9 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-53624 exists.\n\nAffected packages and fixed versions:\n- docusaurus-plugin-content-gists (npm): affected all versions; fixed in 4.0.0\n- docusaurus-plugin-content-gists (npm): affected all versions; fixed in 4.0.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-53624/ (Markdown: https://insights.sbomify.com/CVE-2025-53624/index.md)","id":"CVE-2025-53624","markdown":"https://insights.sbomify.com/CVE-2025-53624/index.md","name":"CVE-2025-53624","record":{"aliases":["GHSA-qf34-qpr4-5pph"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Docusaurus plugin","requires_auth":"none","summary":"An attacker can view the website's source code to steal GitHub Personal Access Tokens exposed in client-side JavaScript bundles by the Docusaurus gists plugin.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2025/CVE-2025-53624.yaml","stars":null,"title":"Docusaurus Gists Plugin \u003c 4.0.0 - GitHub Personal Access Token Exposure"}],"tier":"weaponised"},"has_fix":true,"headline":"docusaurus-plugin-content-gists Exposes GitHub Personal Access Token","id":"CVE-2025-53624","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"DynamicPageList3 exposes hidden/suppressed usernames","id":"CVE-2025-53625"},"packages":[{"ecosystem":"npm","fixed":["4.0.0"],"introduced":["0"],"last_affected":[],"package":"docusaurus-plugin-content-gists","purl":null,"source":"GHSA-qf34-qpr4-5pph"},{"ecosystem":"npm","fixed":["4.0.0"],"introduced":["0"],"last_affected":[],"package":"docusaurus-plugin-content-gists","purl":"pkg:npm/docusaurus-plugin-content-gists","source":"GHSA-qf34-qpr4-5pph"}],"prev":{"headline":"Job Iteration API is vulnerable to OS Command Injection attack through its CsvEnumerator class","id":"CVE-2025-53623"},"products":["docusaurus-plugin-content-gists"],"published":"2025-07-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-07-10","vendors":["webbertakken"]},"summary":"An attacker can view the website's source code to steal GitHub Personal Access Tokens exposed in client-side JavaScript bundles by the Docusaurus gists plugin.","url":"https://insights.sbomify.com/CVE-2025-53624/"}