CVE Catalog

CVE-2025-58067

MediumCVSS 4.2
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.23%

13th percentile - higher than 13% of all known CVEs

Summary

Basecamp's Google Sign-In for Rails applications prior to version 1.3.1 allows redirecting a user to another origin if the "proceed_to" value in the session store is set to a protocol-relative URL. It may be possible to set this session value from a malicious site via form submission, and chaining with another attack that modifies OAuth2 request parameters could exploit the issue.

Risk Assessment

Open redirect and potential leakage of authentication data may occur in Rails applications using this library.

Recommendation

Update the google_sign_in gem to version 1.3.1 or later; there are no workarounds, so patching is required.

Related vulnerabilities

Original NVD description (English source)

Basecamp's Google Sign-In adds Google sign-in to Rails applications. Prior to version 1.3.1, it is possible to redirect a user to another origin if the "proceed_to" value in the session store is set to a protocol-relative URL. Normally the value of this URL is only written and read by the library or the calling application. However, it may be possible to set this session value from a malicious site with a form submission. Any Rails applications using the google_sign_in gem may be vulnerable, if this vector can be chained with another attack that is able to modify the OAuth2 request parameters. This issue has been patched in version 1.3.1. There are no workarounds.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS