A credential exposure vulnerability exists in sigstore-js versions before 0.8.0. This flaw causes registry credentials to leak when OAuth2 password-grant request bodies are replayed on cross-origin HTTP 307 or 308 redirects. An attacker who can induce a trusted token service to redirect to a malicious host via an open redirect or compromise can capture the username and password posted by the RegistryClient. The issue is fixed in version 0.8.0.