Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2021-41275
spreecommerce spree auth devise

Score8.8 High
CVSS 3.1
Exploit probability (EPSS)0.65%
within the next 30 days
CategoryRequest forgery (CSRF / SSRF)
Published17 November 2021
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, if a user clicks a link, opens a file or similar.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Weakness type: Cross-site request forgery (CSRF).

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

spree_auth_devise is an open source library which provides authentication and authorization services for use with the Spree storefront framework by using an underlying Devise authentication framework. In affected versions spree_auth_devise is subject to a CSRF vulnerability that allows user account takeover. All applications using any version of the frontend component of spree_auth_devise are affected if protect_from_forgery method is both: Executed whether as: A before_action callback (the default). A prepend_before_action (option prepend: true given) before the :load_object hook in Spree::UserController (most likely order to find). Configured to use :null_session or :reset_session strategies (:null_session is the default in case the no strategy is given, but rails --new generated skeleton use :exception). Users are advised to update their spree_auth_devise gem. For users unable to update it may be possible to change your strategy to :exception. Please see the linked GHSA for more workaround details. ### Impact CSRF vulnerability that allows user account takeover. All applications using any version of the frontend component of `spree_auth_devise` are affected if `protect_from_forgery` method is both: * Executed whether as: * A before_action callback (the default) * A prepend_before_action (option prepend: true given) before the :load_object hook in Spree::UserController (most likely order to find). * Configured to use :null_session or :reset_session strategies (:null_session is the default in case the no strategy is given, but rails --new generated skeleton use :exception). That means that applications that haven't been configured differently from what it's generated with Rails aren't affected. Thanks @waiting-for-dev for reporting and providing a patch �� ### Patches Spree 4.3 users should update to spree_auth_devise 4.4.1 Spree 4.2 users should update to spree_auth_devise 4.2.1 ### Workarounds If possible, change your strategy to :exception: ```ruby class ApplicationController < ActionController::Base protect_from_forgery with: :exception end ``` Add the following to`config/application.rb `to at least run the `:exception` strategy on the affected controller: ```ruby config.after_initialize do Spree::UsersController.protect_from_forgery with: :exception end ``` ### References https://github.com/solidusio/solidus_auth_devise/security/advisories/GHSA-xm34-v85h-9pg2

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness: CWE-352 – Cross-site request forgery (CSRF)

Affected products

VendorProductVersions
spreecommercespree auth devise<=4.0.1
spreecommercespree auth devise>=4.3.0 <4.4.1
spreecommercespree auth devise4.1.0
spreecommercespree auth devise4.2.0

Sources

Latest in the same category

  • CVE-2026-139999 Medium 6
    React Router is a router for React. From 7.12.0 until 7.18.3 and 8.3.1, React Router's server-side origin validation may allow cross-site request forgery in Framework, unstable RSC Data, and unstable RSC Framework…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-139997 Medium 5.3
    React Router is a router for React. From 6.4.0 until 7.18.3 and 8.3.1, react Router loader responses and action responses can accept an attacker-controlled redirect destination without consistently rejecting an…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-93329 High 8.7
    A Confused Deputy and Server-Side Request Forgery (SSRF) vulnerability in the /api-proxy endpoint in Google Cloud Gemini Enterprise Agent Platform — Agent Studio App Builder versions prior to 2026-09-02 on Cloud Run…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-5202 Medium 6.7
    LibreOffice documents can link to external content, such as images, objects, sounds and database data, and ask the user before updating those links. Some of this content was loaded while the document was opening,…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-66024 High 8.3
    Chatwoot before 4.17.0 contains a server-side request forgery vulnerability that allows unauthenticated attackers to make the server issue HTTP requests to arbitrary hosts by exploiting missing Twilio request signature…
    Request forgery (CSRF / SSRF) · 30 November 2026
  • CVE-2026-137189 Critical 9.3
    Jupyter MCP Server is a Model Context Protocol server for Jupyter. Prior to 2.1.3, ManagementRouteSecurityMiddleware in jupyter_mcp_server/server.py checks request.url.hostname rather than the actual TCP peer before…
    Request forgery (CSRF / SSRF) · 30 November 2026