# CVE-2021-20750: EC-CUBE Cross-site scripting vulnerability

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/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): 1.55%, higher than 75% of CVEs (2026-12-01)
- Published: 2021-06-28T00:50:39.000Z
- Modified: 2026-06-17T03:34:22.110Z
- Also known as: GHSA-vrpv-26fm-7vf7
- Weaknesses: CWE-79
- Assigned by: jpcert

## Description

Cross-site scripting vulnerability in EC-CUBE EC-CUBE 3.0.0 to 3.0.18-p2 (EC-CUBE 3 series) and EC-CUBE 4.0.0 to 4.0.5-p1 (EC-CUBE 4 series) allows a remote attacker to inject an arbitrary script by leading an administrator or a user to a specially crafted page and to perform a specific operation.

(As written by CVE List.)

## Affected

- EC-CUBE CO.,LTD. EC-CUBE: EC-CUBE 3.0.0 to 3.0.18-p2 (EC-CUBE 3 series) and EC-CUBE 4.0.0 to 4.0.5-p1 (EC-CUBE 4 series)
- ec-cube/ec-cube (Packagist): from 3.0.0 up to 3.0.18-p2; from 4.0.0 before 4.0.6
- ec-cube ec-cube: from 3.0.0 before 3.0.18; from 4.0.0 before 4.0.5; 3.0.18; 4.0.5

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/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/weakness.php?id=79> (vendor-advisory, web)
- <https://www.ec-cube.net/info/weakness/weakness.php?id=78> (vendor-advisory, web)
- <https://jvn.jp/en/jp/JVN95292458/index.html> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-20750> (advisory)
- <https://github.com/EC-CUBE/ec-cube> (package)

## Sources

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

---

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