Medium
Security advisory
Cross-site request forgery (CSRF) vulnerability in EC-CUBE 2 series 2.11.0 to 2.17.1 allows a remote attacker to hijack the authentication of Administrator and delete Administrator via a specially crafted web page.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-20842
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:22 UTC · Revision 1
Source evidence
Cross-site request forgery (CSRF) vulnerability in EC-CUBE 2 series 2.11.0 to 2.17.1 allows a remote attacker to hijack the authentication of Administrator and delete Administrator via a specially crafted web page.
osv:CVE-2021-20842
Complete source record
{
"id": "780ef490d452f67b5f5e1aa9761751e12f2815925f5ffad10d96cb7681cdc26b",
"url": "https://osv.dev/vulnerability/CVE-2021-20842",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-20842",
"summary": "Cross-site request forgery (CSRF) vulnerability in EC-CUBE 2 series 2.11.0 to 2.17.1 allows a remote attacker to hijack the authentication of Administrator and delete Administrator via a specially crafted web page.",
"evidence": "osv:CVE-2021-20842",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-20842",
"aliases": [
"CVE-2021-20842",
"GHSA-m9hv-qmqh-33qh"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ec-cube/ec-cube2",
"type": "GIT",
"events": [
{
"introduced": "1004363cf13cc929c0e077c0ac849a6d3c8c10bb"
},
{
"last_affected": "5b82f42d471cdf3dace7522d58e20915320e6614"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:ec-cube:ec-cube:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.11.0"
},
{
"last_affected": "2.17.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20842.json"
}
}
],
"modified": "2026-10-24T10:30:27.904004808Z",
"provider": "osv",
"references": [
"https://jvn.jp/en/jp/JVN75444925/index.html",
"https://www.ec-cube.net/info/weakness/20211111/"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:ec-cube:ec-cube:*:*:*:*:*:*:*:*"
],
"vendor_product": "ec-cube:ec-cube",
"extracted_events": [
{
"range": [
{
"introduced": "2.11.0"
},
{
"last_affected": "2.17.1"
},
{
"introduced": "2.11.0"
},
{
"last_affected": "2.17.1"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-20842",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 431924,
"published_at": "2021-11-24T16:15:13.157+00:00"
}