CVE-2025-57821
published medium CVSS 3.1 · 4.2Basecamp's Google Sign-In for Rails allowed redirects to a malformed URL
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| basecamp | — | google_sign_in< 1.3.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| basecamp | google_sign_in | < 1.3.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-601 CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
References
4Provider assertions
2GitHub_M · cna
Basecamp's Google Sign-In for Rails allowed redirects to a malformed URL
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0d9362cd5f85ce9b0a5069e2e83d8520ac165ba1a52a5760105b5a4227540195
- Ingested
- 23 Sep 2026, 08:53:41 UTC
- Source record
- Official CVE record