Skip to content

← Public intelligence

RubyGems package

google_sign_in

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 4.2RubyGemsPublished

    Google Sign-In for Rails allowed redirect to protocol-relative URI

    CVE-2025-58067 · GHSA-5jch-xhw4-r43v

    Affected
    • RubyGems google_sign_in < 1.3.1
    Fixed in
    1.3.1· Vendor fix available
    Issue
    It is possible to redirect a user to another origin if the "proceedto" value in the session store is set to a protocol-relative URL. Details The googlesignin gem persists an optional URL for redirection after authentication. If this URL is set to a protocol-relative URL, it improperly passes the "same origin" check, and it's possible for the user to be redirected to another origin after authentication, possibly resulting in exposure of authentication information if this attack is chained with other attacks. Normally the value of this URL is only written and read by the library or the calling application. However, it may be possible to set this session value from a malicious site with a form submission. Impact Any Rails applications using the googlesignin gem may be vulnerable, if this vector can be chained with another attack that is able to modify the OAuth2 request parameters. Workarounds No known workarounds. Credits This issue was responsibly reported by Hackerone user…

    Recommended action: Upgrade to 1.3.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 4.2RubyGemsPublished

    Google Sign-In for Rails allowed redirects to malformed URLs

    CVE-2025-57821 · GHSA-7pwc-wh6m-44q3

    Affected
    • RubyGems google_sign_in < 1.3.0
    Fixed in
    1.3.0· Vendor fix available
    Issue
    It is possible to craft a malformed URL that passes the "same origin" check, resulting in the user being redirected to another origin. Details The googlesignin gem persists an optional URL for redirection after authentication. If this URL is malformed, it's possible for the user to be redirected to another origin after authentication, possibly resulting in exposure of authentication information such as the token. Normally the value of this URL is only written and read by the library. If applications are configured to store session information in a database, there is no known vector to exploit this vulnerability. However, applications may be configured to store this information in a session cookie, in which case it may be chained with a session cookie attack to inject a crafted URL. Impact 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…

    Recommended action: Upgrade to 1.3.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →