# CVE-2021-20751: 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.09%, higher than 66% of CVEs (2026-12-01)
- Published: 2021-06-28T00:50:41.000Z
- Modified: 2026-06-17T03:34:22.207Z
- Also known as: GHSA-r6qq-qc9m-98w2
- Weaknesses: CWE-79
- Assigned by: jpcert

## Description

Cross-site scripting vulnerability in EC-CUBE 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 4.0.0 to 4.0.5-p1 (EC-CUBE 4 series)
- ec-cube/ec-cube (Packagist): from 4.0.0 before 4.0.6
- ec-cube ec-cube: from 4.0.0 before 4.0.5; 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=78> (vendor-advisory, web)
- <https://jvn.jp/en/jp/JVN95292458/index.html> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-20751> (advisory)
- <https://github.com/EC-CUBE/ec-cube> (package)

## Sources

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

---

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