CVE-2025-57821

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

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.

Category

4.2
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.03%
Affected: basecamp google_sign_in
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-57821?
CVE-2025-57821 has been scored as a medium severity vulnerability.
How to fix CVE-2025-57821?
To fix CVE-2025-57821, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-57821 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-57821 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-57821?
CVE-2025-57821 affects basecamp google_sign_in.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.