Description
A common setup to deploy to gh-pages on every commit via a CI system is to expose a github token to ENV and to use it directly in the auth part of the url. In module versions < 0.9.1 the auth portion of the url is outputted as part of the grunt tasks logging function. If this output is publicly available then the credentials should be considered compromised.
Remediation
References
https://github.com/tschaub/grunt-gh-pages/pull/41
https://nodesecurity.io/advisories/85
Related Vulnerabilities
CVE-2012-0392 Vulnerability in maven package org.apache.struts:struts2-core
CVE-2018-1000632 Vulnerability in maven package org.dom4j:dom4j
CVE-2020-7610 Vulnerability in maven package org.webjars.npm:bson
CVE-2021-21307 Vulnerability in maven package org.lucee:lucee
CVE-2020-5263 Vulnerability in maven package org.webjars.npm:auth0-js