Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: 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 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-20717
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:14 UTC · Revision 1

Source evidence

CVE-2021-20717

core-osv · Original source

Published 10 May 2021, 10:15 UTC

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.

osv:CVE-2021-20717
Complete source record
{
  "id": "b7411c7509ca1d24a911b925e80dd2f4a01824883342c4f2539e6ad8fdbc58f3",
  "url": "https://osv.dev/vulnerability/CVE-2021-20717",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-20717",
    "summary": "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.",
    "evidence": "osv:CVE-2021-20717",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-20717",
      "aliases": [
        "CVE-2021-20717",
        "GHSA-c8mx-43cq-993w"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ec-cube/ec-cube",
              "type": "GIT",
              "events": [
                {
                  "introduced": "00ef39551273847cff9b737f98f120a50d4320cc"
                },
                {
                  "fixed": "dc27cb56697f2a02a7950d0a12cdc9983aa0d6a3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ec-cube:ec-cube:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "fixed": "4.0.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.0.5-rc",
            "4.0.4",
            "co/20191212",
            "co/20191128",
            "co/20190912",
            "4.0.3",
            "co/20191114",
            "co/20191031",
            "co/20191017",
            "co/20190930",
            "co/20190905",
            "co/20190829",
            "co/20190822",
            "co/20190808",
            "co/20190718",
            "co/20190710",
            "co/20190613",
            "co/20190508",
            "co/20190417",
            "co/20190404",
            "co/20190313",
            "co/20190306",
            "4.0.2",
            "4.0.1",
            "4.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20717.json"
          }
        }
      ],
      "modified": "2026-10-24T10:31:04.759680278Z",
      "provider": "osv",
      "references": [
        "https://jvn.jp/en/jp/JVN97554111/index.html",
        "https://www.ec-cube.net/news/detail.php?news_id=383",
        "https://www.ec-cube.net/news/detail.php?news_id=384"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:ec-cube:ec-cube:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "ec-cube:ec-cube",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0.0"
                  },
                  {
                    "fixed": "4.0.5"
                  },
                  {
                    "introduced": "4.0.0"
                  },
                  {
                    "fixed": "4.0.5"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-20717",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 440600,
  "published_at": "2021-05-10T10:15:07.313+00:00"
}