CVE-2021-43846 json
CSRF forgery protection bypass for Spree::OrdersController#populate
published 2021-12-20 4 y ago modified 2026-07-08 4 mo ago also GHSA-h3fg-h5v3-vf8m , EUVD-2022-0611
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
`solidus_frontend` is the cart and storefront for the Solidus e-commerce project. Versions of `solidus_frontend` prior to 3.1.5, 3.0.5, and 2.11.14 contain a cross-site request forgery (CSRF) vulnerability that allows a malicious site to add an item to the user's cart without their knowledge. Versions 3.1.5, 3.0.5, and 2.11.14 contain a patch for this issue. The patch adds CSRF token verification to the "Add to cart" action. Adding forgery protection to a form that missed it can have some side effects. Other CSRF protection strategies as well as a workaround involving modifcation to config/application.rb` are available. More details on these mitigations are available in the GitHub Security Advisory.
Patch / fix
- rubygems solidus_frontend 2.11.14, 3.0.5, 3.1.5
- nebulab solidus 2.11.14, 3.0.5, 3.1.5
Exploit prediction
0.59% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/solidusio/solidus/security/advisories/GHSA-h3fg-h5v3-vf8m referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | solidus_frontend | <2.11.14 >=3.0.0, <3.0.5 >=3.1.0, <3.1.5 |
2.11.14 3.0.5 3.1.5 |
Affected products
- solidusio solidus
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
References
-
github.com
/solidusio/solidus/commit/4d17cacf066d9492fc04eb3a0b16084b47376d81
web, patch, third-party-advisory
-
github.com
/solidusio/solidus/commit/a1b9bf7f24f9b8684fc4d943eacb02b1926c77c6
web, patch, third-party-advisory
-
github.com
/solidusio/solidus/security/advisories/GHSA-h3fg-h5v3-vf8m
web, exploit, mitigation, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-43846
advisory
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/solidus_frontend/CVE-2021-43846.yml
web
-
github.com
/solidusio/solidus
package
Sources
- CVE List CVE-2021-43846
- GitHub Advisory GHSA-h3fg-h5v3-vf8m
- NVD CVE-2021-43846
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.