CVE-2025-57821
MEDIUMgoogle_sign_in < 1.3.0 - Open Redirect via Malformed URL
Title source: llmDescription
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.
References (4)
Core 4
Core References
Vendor Advisory x_refsource_confirm
https://github.com/basecamp/google_sign_in/security/advisories/GHSA-7pwc-wh6m-44q3
Issue Tracking x_refsource_misc
https://github.com/basecamp/google_sign_in/pull/73
Patch x_refsource_misc
https://github.com/basecamp/google_sign_in/commit/85903651201257d4f14b97d4582e6d968ac32f15
Release Notes x_refsource_misc
https://github.com/basecamp/google_sign_in/releases/tag/v1.3.0
Scores
CVSS v3
4.2
EPSS
0.0022
EPSS Percentile
12.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-601
Status
published
Products (2)
basecamp/google_sign_in
< 1.3.0
rubygems/google_sign_in
0 - 1.3.0RubyGems
Published
Aug 27, 2025
Tracked Since
Feb 18, 2026