Vulnerability

CVE-2025-57821

mediumCVSS 3.1 4.2Published 27 Aug 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /basecamp/google_sign_in/commit/85903651201257d4f14b97d4582…
  • github.com /basecamp/google_sign_in/pull/73
  • github.com /basecamp/google_sign_in/releases/tag/v1.3.0
  • github.com /basecamp/google_sign_in/security/advisories/GHSA-7pwc-wh6m…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning