CVE-2025-57821

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-57821
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-57821.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-57821
Aliases
Published
2025-08-27T17:15:48Z
Modified
2025-08-28T04:45:23.764947Z
Summary
[none]
Details

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

Affected packages

Git / github.com/basecamp/google_sign_in

Affected ranges

Type
GIT
Repo
https://github.com/basecamp/google_sign_in
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v0.*

v0.1
v0.1.1
v0.1.2
v0.1.3
v0.1.4

v1.*

v1.0.0
v1.0.1
v1.0.2
v1.1.0
v1.1.1
v1.1.2
v1.2.0
v1.2.1