grunt-gh-pages before 0.10.0 may allow unencrypted GitHub credentials to be written to a log fileGHSA-rrj3-qmh8-72pf
Fix: tschaub/grunt-gh-pages#41GHSA-rrj3-qmh8-72pf is a CWE-391 vulnerability in grunt-gh-pages. A fix is available for grunt-gh-pages — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
grunt-gh-pagesnpmDescription
Versions of grunt-gh-pages prior to 0.10.0 are affected by a vulnerability which may cause unencrypted GitHub credentials to be written to a log file in certain circumstances.
In the grunt-gh-pages deployment scenario where authentication is performed by injecting a GitHub token directly into the auth portion of the URL, grunt-gh-pages will write the token to a log file, unencrypted.
Recommendation
Update to version 0.10.0 or later.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | grunt-gh-pages | all versions | 0.10.0npm install grunt-gh-pages@0.10.0 |
Affected Products
grunt-gh-pagesgrunt-gh-pages_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for grunt-gh-pages, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update grunt-gh-pages to 0.10.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-rrj3-qmh8-72pf is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-rrj3-qmh8-72pf in your dependencies?
Find it across npm, including transitive dependencies.