{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:ec-cube:ec-cube:*:*:*:*:*:*:*:*",
              "cpe:2.3:a:ec-cube:ec-cube:4.0.5.:-:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "4.0.0"
              },
              {
                "fixed": "4.0.5"
              },
              {
                "introduced": "4.0.5.-NA"
              },
              {
                "last_affected": "4.0.5.-NA"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "00ef39551273847cff9b737f98f120a50d4320cc"
            },
            {
              "fixed": "dc27cb56697f2a02a7950d0a12cdc9983aa0d6a3"
            },
            {
              "introduced": "dc27cb56697f2a02a7950d0a12cdc9983aa0d6a3"
            },
            {
              "last_affected": "dc27cb56697f2a02a7950d0a12cdc9983aa0d6a3"
            }
          ],
          "repo": "https://github.com/ec-cube/ec-cube",
          "type": "GIT"
        }
      ],
      "versions": [
        "4.0.5.-NA"
      ]
    }
  ],
  "database_specific": {},
  "details": "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.",
  "id": "CVE-2021-20751",
  "modified": "2026-07-08T05:37:41.751265608Z",
  "published": "2021-06-28T01:15:07.603Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://jvn.jp/en/jp/JVN95292458/index.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.ec-cube.net/info/weakness/weakness.php?id=78"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}