CVE-2025-57821 Details
Description
Basecamp's Google Sign-In adds Google sign-in to Rails applications. Prior to version 1.3.0, it is possible to craft a malformed URL that passes the "same origin" check, resulting in the user being redirected to another origin. Rails applications configured to store the flash information in a session cookie may be vulnerable, if this can be chained with an attack that allows injection of arbitrary data into the session cookie. This issue has been patched in version 1.3.0. If upgrading is not possible at this time, a way to mitigate the chained attack can be done by explicitly setting SameSite=Lax or SameSite=Strict on the application session cookie.
A vulnerability in Basecamp's Google Sign-In for Rails applications, prior to version 1.3.0, allows for the creation of malformed URLs that bypass the same-origin policy check. This flaw can redirect users to unintended origins. The issue is particularly concerning for Rails applications that store flash data in session cookies, as it could be exploited by injecting arbitrary data into the session cookie. The vulnerability has been patched in version 1.3.0. For those unable to upgrade, the session cookie's SameSite attribute can be set to Lax or Strict to mitigate the risk.
Users can upgrade to Google Sign-In version 1.3.0, where this vulnerability has been fixed. If upgrading is not possible, the session cookie's SameSite attribute should be set to Lax or Strict.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 27, 2025CISA-ADP
Assessed Aug 27, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/basecamp/google_sign_in/commit/85903651201257d4f14b97d4582e6d968ac32f15 | [email protected] | Source CodeVendor |
| https://github.com/basecamp/google_sign_in/pull/73 | [email protected] | Issue TrackingVendor |
| https://github.com/basecamp/google_sign_in/releases/tag/v1.3.0 | [email protected] | Release NotesVendor |
| https://github.com/basecamp/google_sign_in/security/advisories/GHSA-7pwc-wh6m-44q3 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-601 | URL Redirection to Untrusted Site ('Open Redirect') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Basecamp Google Sign-In | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 27, 2025 | New CVE Received | [email protected] |
Volerion