# CVE-2021-20717: 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): 2.31%, higher than 83% of CVEs (2026-12-01)
- Published: 2021-05-10T09:10:14.000Z
- Modified: 2026-06-17T03:34:18.727Z
- Also known as: GHSA-c8mx-43cq-993w
- Weaknesses: CWE-79
- Assigned by: jpcert

## Description

Cross-site scripting vulnerability in EC-CUBE 4.0.0 to 4.0.5 allows a remote attacker to inject a specially crafted script in the specific input field of the EC web site which is created using EC-CUBE. As a result, it may lead to an arbitrary script execution on the administrator's web browser.

(As written by CVE List.)

## Affected

- EC-CUBE CO.,LTD. EC-CUBE: 4.0.0 to 4.0.5
- ec-cube/ec-cube (Packagist): from 4.0.0 up to 4.0.5
- ec-cube ec-cube: from 4.0.0 before 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/news/detail.php?news_id=384> (patch, vendor-advisory, web)
- <https://www.ec-cube.net/news/detail.php?news_id=383> (patch, vendor-advisory, web)
- <https://jvn.jp/en/jp/JVN97554111/index.html> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-20717> (advisory)
- <https://github.com/EC-CUBE/ec-cube> (package)

## Sources

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

---

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