CVE-2025-57821
Last modified
CVE-2025-57821 is a medium-severity vulnerability rated 4.2/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-57821?
How severe is CVE-2025-57821?
How do I fix CVE-2025-57821?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-57816Fides is an open-source privacy engineering platform. Prior …7.5
- CVE-2025-57817Fides is an open-source privacy engineering platform. Prior …7.2
- CVE-2025-57818Firecrawl turns entire websites into LLM-ready markdown or s…6.3
- CVE-2025-57819FreePBX is an open-source web-based graphical user interface…9.8
- CVE-2025-5782A vulnerability, which was classified as critical, has been …6.3
- CVE-2025-57820Svelte devalue is a utility library. Prior to version 5.3.2,…7.9
- CVE-2025-57822Next.js is a React framework for building full-stack web app…8.2
- CVE-2025-57823A direct request ('forced browsing') vulnerability in Fortin…2.7
- CVE-2025-57824Rejected reason: Not used
- CVE-2025-57825Rejected reason: Not used
- CVE-2025-57826Rejected reason: Not used
- CVE-2025-57827Rejected reason: Not used
Are you affected by CVE-2025-57821?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
