CVE-2025-57821 - CVE House
Back to Database
Status published Medium CVE-2025-57821

Basecamp's Google Sign-In for Rails allowed redirects to a malformed URL

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-57821

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

google_sign_in
Vulnerable Versions:
< 1.3.0

Timeline

Official Publish: August 27th, 2025
Last Modified: August 27th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Weaknesses (CWE)