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-2018-18854 Vulnerability in maven package io.spray:spray-json
CVE-2022-39381 Vulnerability in npm package muhammara
CVE-2017-5650 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2017-16082 Vulnerability in npm package pg
CVE-2022-22947 Vulnerability in maven package org.springframework.cloud:spring-cloud-gateway