{"api_version":"1","generated_at":"2026-07-24T22:13:37+00:00","cve":"CVE-2021-43846","urls":{"html":"https://cve.report/CVE-2021-43846","api":"https://cve.report/api/cve/CVE-2021-43846.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-43846","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-43846"},"summary":{"title":"CVE-2021-43846","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-12-20 22:15:00","updated_at":"2021-12-29 18:26:00"},"problem_types":["CWE-352"],"metrics":[],"references":[{"url":"https://github.com/solidusio/solidus/security/advisories/GHSA-h3fg-h5v3-vf8m","name":"https://github.com/solidusio/solidus/security/advisories/GHSA-h3fg-h5v3-vf8m","refsource":"CONFIRM","tags":[],"title":"CSRF forgery protection bypass for Spree::OrdersController#populate · Advisory · solidusio/solidus · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://github.com/solidusio/solidus/commit/a1b9bf7f24f9b8684fc4d943eacb02b1926c77c6","name":"https://github.com/solidusio/solidus/commit/a1b9bf7f24f9b8684fc4d943eacb02b1926c77c6","refsource":"MISC","tags":[],"title":"Merge pull request from GHSA-h3fg-h5v3-vf8m · solidusio/solidus@a1b9bf7 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/solidusio/solidus/commit/4d17cacf066d9492fc04eb3a0b16084b47376d81","name":"https://github.com/solidusio/solidus/commit/4d17cacf066d9492fc04eb3a0b16084b47376d81","refsource":"MISC","tags":[],"title":"Protect `Spree::OrdersController#populate` against CSRF attacks · solidusio/solidus@4d17cac · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-43846","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43846","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"43846","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"nebulab","cpe5":"solidus","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-43846","STATE":"PUBLIC","TITLE":"CSRF forgery protection bypass for Spree::OrdersController#populate"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"solidus","version":{"version_data":[{"version_value":">= 3.1.0, < 3.1.5"},{"version_value":">= 3.0.0, < 3.0.5"},{"version_value":"< 2.11.14"}]}}]},"vendor_name":"solidusio"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"`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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-352: Cross-Site Request Forgery (CSRF)"}]}]},"references":{"reference_data":[{"name":"https://github.com/solidusio/solidus/security/advisories/GHSA-h3fg-h5v3-vf8m","refsource":"CONFIRM","url":"https://github.com/solidusio/solidus/security/advisories/GHSA-h3fg-h5v3-vf8m"},{"name":"https://github.com/solidusio/solidus/commit/4d17cacf066d9492fc04eb3a0b16084b47376d81","refsource":"MISC","url":"https://github.com/solidusio/solidus/commit/4d17cacf066d9492fc04eb3a0b16084b47376d81"},{"name":"https://github.com/solidusio/solidus/commit/a1b9bf7f24f9b8684fc4d943eacb02b1926c77c6","refsource":"MISC","url":"https://github.com/solidusio/solidus/commit/a1b9bf7f24f9b8684fc4d943eacb02b1926c77c6"}]},"source":{"advisory":"GHSA-h3fg-h5v3-vf8m","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-12-20 22:15:00","lastModifiedDate":"2021-12-29 18:26:00","problem_types":["CWE-352"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:nebulab:solidus:*:*:*:*:*:*:*:*","versionEndExcluding":"2.11.14","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:nebulab:solidus:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0.0","versionEndExcluding":"3.0.5","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:nebulab:solidus:*:*:*:*:*:*:*:*","versionStartIncluding":"3.1.0","versionEndExcluding":"3.1.5","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"43846","Ordinal":"221295","Title":"CVE-2021-43846","CVE":"CVE-2021-43846","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"43846","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}