CVE-2025-57821CWE-601

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

Medium · published August 27, 2025

CVSS v3.1
4.2
EPSS
0%
Percentile
14.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.2 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00240 · 14.3th percentile
Weakness
CWE-601 · URL Redirection to Untrusted Site ('Open Redirect')
Published
2025-08-27T16:32Z
EPSS history
Timeline
  • 27 AUG 16:32Z
    Basecamp's Google Sign-In for Rails allowed redirects to a malformed URL
    cvelistv5