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-31403 Vulnerability in maven package com.vaadin:vaadin-server
CVE-2016-6805 Vulnerability in maven package org.apache.ignite:ignite-core
CVE-2022-43407 Vulnerability in maven package org.jenkins-ci.plugins:pipeline-input-step
CVE-2021-29438 Vulnerability in npm package dialogs
CVE-2022-43432 Vulnerability in maven package org.jenkins-ci.plugins:xframium