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-2021-43138 Vulnerability in maven package org.webjars.npm:async
CVE-2020-8441 Vulnerability in maven package org.jyaml:jyaml
CVE-2022-39300 Vulnerability in npm package node-saml
CVE-2018-1999001 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2017-5645 Vulnerability in maven package org.apache.logging.log4j:log4j-core