CVE-2018-5301 · mitre
CVE-2018-5301
Magento Community Edition and Enterprise Edition before 2.0.10 and 2.1.x before 2.1.2 have CSRF resulting in deletion of a customer address from an address book, aka APPSEC-1433.
Published 2018-01-08, last changed 2026-06-17. Weakness: CWE-352.
How to fix
Upgrade to a fixed version: magento/community-edition 2.0.10, 2.1.2 (Packagist) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in magento/devdocs by 18b0d27977, 60fcebc2b5, 4e3a2ab64a. The fix changed source code, but no function could be located in it. Regression tests: app/code/Magento/Checkout/Test/Unit/Controller/Sidebar/RemoveItemTest.php, app/code/Magento/Checkout/Test/Unit/Controller/Sidebar/UpdateItemQtyTest.php, app/code/Magento/Checkout/Test/Unit/Model/Cart/RequestInfoFilterCompositeTest.php, app/code/Magento/Checkout/Test/Unit/Model/Cart/RequestInfoFilterTest.php. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2018-01-08 | Published |
| 2022-05-14 | Package advisory GHSA-w3mq-67mw-3p9f |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.43% |
| 2026-12-05 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-w3mq-67mw-3p9f | magento/community-edition (Packagist) | 2.0.10 |
| GHSA-w3mq-67mw-3p9f | magento/community-edition (Packagist) | 2.1.2 |
Also known as: GHSA-w3mq-67mw-3p9f
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2025-54267 | 2025-10-14 | 6.5 | Adobe Commerce | Incorrect Authorization (CWE-863) |
| CVE-2025-54266 | 2025-10-14 | 4.8 | Adobe Commerce | Cross-site Scripting (Stored XSS) (CWE-79) |
| CVE-2025-54265 | 2025-10-14 | 5.9 | Adobe Commerce | Incorrect Authorization (CWE-863) |
| CVE-2025-54264 | 2025-10-14 | 8.1 | Adobe Commerce | Cross-site Scripting (Stored XSS) (CWE-79) |
| CVE-2025-54263 | 2025-10-14 | 8.1 | Adobe Commerce | Incorrect Authorization (CWE-863) |
| CVE-2025-54236 KEV | 2025-09-09 | 9.1 | Adobe Commerce | Improper Input Validation (CWE-20) |
| CVE-2025-49559 | 2025-08-12 | 5.3 | Adobe Commerce | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22) |
| CVE-2025-49558 | 2025-08-12 | 5.9 | Adobe Commerce | Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2018-5301, or call /api/v1/vulnerabilities/CVE-2018-5301. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.