# GHSA-MHWQ-2V9W-R659: Storefront password reset endpoint allows for account enumeration

- Database: GitHub
- Severity: CVSS 5.3 (Medium)
- Published: 2026-10-07
- Modified: 2026-10-07

## Affected versions

- solidus\_storefront (RubyGems): all
- solidus\_starter\_frontend (RubyGems): all

## Description

### Impact
The storefront password endpoint (`/password/recover`) allows for account enumeration and [Devise's paranoid mode](https://github.com/heartcombo/devise/wiki/How-To:-Using-paranoid-mode,-avoid-user-enumeration-on-registerable) is ignored.

### Patches
The storefront generator templates are fixed in Solidus, so new stores will get the patched code.

**Upgrading the Solidus gem does not fix existing stores.** The vulnerable code was copied into your application when the storefront was generated, so every existing store must patch its own `UserPasswordsController`. The fix is in the Workarounds section below.

The admin password reset endpoint has the same issue and is fixed in `solidus_auth_devise` 2.6.1. See [GHSA-mc6q-7qq6-ghg8](https://github.com/solidusio/solidus_auth_devise/security/advisories/GHSA-mc6q-7qq6-ghg8).

### Workarounds
In your application, edit `app/controllers/user_passwords_controller.rb` so that `create` uses Devise's `successfully_sent?`:
```diff
    set_flash_message(:notice, :send_instructions) if is_navigational_format?

-   if resource.errors.empty?
+   if successfully_sent?(resource)
      respond_with resource, location: login_path
    else
      respond_with_navigational(resource) { render :new }
```

This change applies to any Solidus version; you do not need to upgrade first.

### Credits
Originally reported on HackerOne by: George Managadze <georgemanagadze1@gmail.com>

## References

- https://github.com/solidusio/solidus/security/advisories/GHSA-mhwq-2v9w-r659

Page: https://cve.now/GHSA-MHWQ-2V9W-R659

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
