# CVE-2021-20842: EC-CUBE Cross-site request forgery (CSRF) vulnerability

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- 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): 0.55%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-24T08:25:42.000Z
- Modified: 2026-06-17T03:34:31.633Z
- Also known as: GHSA-m9hv-qmqh-33qh
- Weaknesses: CWE-352
- Assigned by: jpcert

## Description

Cross-site request forgery (CSRF) vulnerability in EC-CUBE 2 series 2.11.0 to 2.17.1 allows a remote attacker to hijack the authentication of Administrator and delete Administrator via a specially crafted web page.

(As written by CVE List.)

## Affected

- EC-CUBE CO.,LTD. EC-CUBE 2 series: 2.11.0 to 2.17.1
- ec-cube/ec-cube (Packagist): from 2.11.0 before 2.17.2
- ec-cube ec-cube: from 2.11.0 up to 2.17.1

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://www.ec-cube.net/info/weakness/20211111/> (exploit, patch, vendor-advisory)
- <https://jvn.jp/en/jp/JVN75444925/index.html> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-20842> (advisory)
- <https://github.com/EC-CUBE/ec-cube> (package)
- <https://www.ec-cube.net/info/weakness/20211111> (web)

## Sources

- CVE List: [CVE-2021-20842](https://www.cve.org/CVERecord?id=CVE-2021-20842), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-m9hv-qmqh-33qh](https://github.com/advisories/GHSA-m9hv-qmqh-33qh), CC-BY-4.0, modified 2024-04-25
- NVD: [CVE-2021-20842](https://nvd.nist.gov/vuln/detail/CVE-2021-20842), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-20842 · Whole record: https://cve.day/CVE-2021-20842.json · Rebuilt by cve.day 2026-11-25T22:58:05.748Z
