{"cve":"CVE-2021-43846","nvd":{"published":"2021-12-20T22:15:07.947","modified":"2026-06-17T04:11:33.657","status":"Modified","description":"`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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3},"cwes":["CWE-352"],"references":["https://github.com/solidusio/solidus/commit/4d17cacf066d9492fc04eb3a0b16084b47376d81","https://github.com/solidusio/solidus/commit/a1b9bf7f24f9b8684fc4d943eacb02b1926c77c6","https://github.com/solidusio/solidus/security/advisories/GHSA-h3fg-h5v3-vf8m","https://github.com/solidusio/solidus/commit/4d17cacf066d9492fc04eb3a0b16084b47376d81","https://github.com/solidusio/solidus/commit/a1b9bf7f24f9b8684fc4d943eacb02b1926c77c6"],"products":["nebulab:solidus"],"source":"nvd","synced_at":"2026-10-19T21:26:33.761856376+00:00"},"epss":{"cve":"CVE-2021-43846","score":0.00594,"percentile":0.48404,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-h3fg-h5v3-vf8m","url":"https://osv.dev/vulnerability/GHSA-h3fg-h5v3-vf8m","summary":"CSRF forgery protection bypass in solidus_frontend","modified":"2026-07-08T06:30:02.204013207Z","packages":[{"ecosystem":"RubyGems","name":"solidus_frontend","purl":"pkg:gem/solidus_frontend","ranges":["<2.11.14"],"fixed":["2.11.14"]},{"ecosystem":"RubyGems","name":"solidus_frontend","purl":"pkg:gem/solidus_frontend","ranges":[">=3.0.0 <3.0.5"],"fixed":["3.0.5"]},{"ecosystem":"RubyGems","name":"solidus_frontend","purl":"pkg:gem/solidus_frontend","ranges":[">=3.1.0 <3.1.5"],"fixed":["3.1.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}