Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-20751
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:16 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-20751
Complete source record
{
"id": "63d60621ce0b17509451f225461d3e31a779c4fa7a49300bf5f9bb45edd405a9",
"url": "https://osv.dev/vulnerability/CVE-2021-20751",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-20751",
"summary": "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.",
"evidence": "osv:CVE-2021-20751",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-20751",
"aliases": [
"CVE-2021-20751",
"GHSA-r6qq-qc9m-98w2"
],
"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"
},
{
"introduced": "dc27cb56697f2a02a7950d0a12cdc9983aa0d6a3"
},
{
"last_affected": "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"
},
{
"cpe": "cpe:2.3:a:ec-cube:ec-cube:4.0.5.:-:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.5.-NA"
},
{
"last_affected": "4.0.5.-NA"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"4.0.5.-NA",
"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-20751.json"
}
}
],
"modified": "2026-10-24T10:30:26.367602701Z",
"provider": "osv",
"references": [
"https://jvn.jp/en/jp/JVN95292458/index.html",
"https://www.ec-cube.net/info/weakness/weakness.php?id=78"
],
"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"
}
]
},
{
"cpes": [
"cpe:2.3:a:ec-cube:ec-cube:4.0.5.:-:*:*:*:*:*:*"
],
"vendor_product": "ec-cube:ec-cube",
"extracted_events": [
{
"range": [
{
"introduced": "4.0.5.-NA"
},
{
"last_affected": "4.0.5.-NA"
},
{
"introduced": "4.0.5.-NA"
},
{
"last_affected": "4.0.5.-NA"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-20751",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 431603,
"published_at": "2021-06-28T01:15:07.603+00:00"
}