Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. solidus_api
  4. ›
  5. CVE-2021-43846

CVE-2021-43846: Cross-Site Request Forgery (CSRF)

December 20, 2021 (updated December 29, 2021)

solidus_frontend is the cart and storefront for the Solidus e-commerce project. Versions of solidus_frontend 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. 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.

References

  • github.com/solidusio/solidus/commit/4d17cacf066d9492fc04eb3a0b16084b47376d81
  • github.com/solidusio/solidus/commit/a1b9bf7f24f9b8684fc4d943eacb02b1926c77c6
  • github.com/solidusio/solidus/security/advisories/GHSA-h3fg-h5v3-vf8m
  • nvd.nist.gov/vuln/detail/CVE-2021-43846

Code Behaviors & Features

Detect and mitigate CVE-2021-43846 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.11.14, all versions starting from 3.0.0 before 3.0.5, all versions starting from 3.1.0 before 3.1.5

Fixed versions

  • 2.11.14
  • 3.0.5
  • 3.1.5

Solution

Upgrade to versions 2.11.14, 3.0.5, 3.1.5 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

gem/solidus_api/CVE-2021-43846.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:12 +0000.