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://nodesecurity.io/advisories/85
https://github.com/tschaub/grunt-gh-pages/pull/41
Related Vulnerabilities
CVE-2020-2231 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2022-0084 Vulnerability in maven package org.jboss.xnio:xnio-api
CVE-2022-41704 Vulnerability in maven package org.apache.xmlgraphics:batik-bridge
CVE-2020-7639 Vulnerability in npm package eivindfjeldstad-dot
CVE-2023-46659 Vulnerability in maven package org.jenkins-ci.plugins:trac