# CVE-2021-3291: Zen Cart vulnerable to authenticated remote code execution

- Severity: High 7.2 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 17.0%, higher than 97% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-01-26T06:47:35.000Z
- Modified: 2026-06-17T04:04:53.833Z
- Also known as: GHSA-38f9-4vhq-9cr8
- Weaknesses: CWE-78
- Assigned by: mitre

## Description

Zen Cart 1.5.7b allows admins to execute arbitrary OS commands by inspecting an HTML radio input element (within the modules edit page) and inserting a command.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- zencart/zencart (Packagist): before 1.5.7c
- zen-cart zen_cart: 1.5.7b

## Every score

- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.0 High `AV:N/AC:L/Au:S/C:C/I:C/A:C`

## References

- <https://github.com/MucahitSaratar/zencart_auth_rce_poc> (exploit, third-party-advisory, web)
- <http://packetstormsecurity.com/files/161613/Zen-Cart-1.5.7b-Remote-Code-Execution.html> (exploit, third-party-advisory, vdb-entry, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3291> (advisory)
- <https://github.com/zencart/zencart/commit/7447627f7148b11c614f89dab4a09d3f102b58af> (web)
- <https://github.com/zencart/zencart> (package)

## Sources

- CVE List: [CVE-2021-3291](https://www.cve.org/CVERecord?id=CVE-2021-3291), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-38f9-4vhq-9cr8](https://github.com/advisories/GHSA-38f9-4vhq-9cr8), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-3291](https://nvd.nist.gov/vuln/detail/CVE-2021-3291), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3291 · Whole record: https://cve.day/CVE-2021-3291.json · Rebuilt by cve.day 2026-11-25T22:57:59.732Z
