{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-43846","id":"CVE-2021-43846","title":"CSRF forgery protection bypass for Spree::OrdersController#populate","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 ","descriptionLong":"`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.","published":"2021-12-20T21:30:11.000Z","updated":"2026-10-20T10:55:04.556239307Z","reserved":"2021-11-16T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["solidusio solidus"],"affectedProducts":[{"vendor":"solidusio","product":"solidus","defaultStatus":null,"versions":[{"status":"affected","version":">= 3.1.0, < 3.1.5"},{"status":"affected","version":">= 3.0.0, < 3.0.5"},{"status":"affected","version":"< 2.11.14"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"solidus_frontend","purl":"pkg:gem/solidus_frontend","ranges":["<2.11.14",">=3.0.0 <3.0.5",">=3.1.0 <3.1.5"],"fixed":["2.11.14","3.0.5","3.1.5"],"advisory":"GHSA-h3fg-h5v3-vf8m"}],"cwes":["CWE-352"],"aliases":["GHSA-h3fg-h5v3-vf8m"],"references":[{"url":"https://github.com/solidusio/solidus/security/advisories/GHSA-h3fg-h5v3-vf8m","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Mitigation","Third Party Advisory","evidence","web"]},{"url":"https://github.com/solidusio/solidus/commit/4d17cacf066d9492fc04eb3a0b16084b47376d81","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/solidusio/solidus/commit/a1b9bf7f24f9b8684fc4d943eacb02b1926c77c6","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43846","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/solidus_frontend/CVE-2021-43846.yml","tags":["web"]},{"url":"https://github.com/solidusio/solidus","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00594,"epssPercentile":0.49194,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-43846","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43846","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-43846","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-h3fg-h5v3-vf8m","ok":true,"note":"GHSA-h3fg-h5v3-vf8m"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-43846","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}