CVE-2023-46845: EC-CUBE 3 series (3.0.0 to 3.0.18-p6) and 4 series (4.0.0 to 4.0.6-p3, 4.1.0 to 4.1.2-p2, and 4.2.0 to 4.2.2)
CVE-2023-46845 is a high-severity flaw (CVSS 7.2) affecting ec-cube. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
EC-CUBE 3 series (3.0.0 to 3.0.18-p6) and 4 series (4.0.0 to 4.0.6-p3, 4.1.0 to 4.1.2-p2, and 4.2.0 to 4.2.2) contain an arbitrary code execution vulnerability due to improper settings of the template engine Twig included in the product. As a result, arbitrary code may be executed on the server where the product is running by a user with an administrative privilege.
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.2 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 1.6% (top 24%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2023-11-07 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-46845?
ec-cube: upgrade to 4.2.3. Exact commands for each OS are on this page.
Is CVE-2023-46845 being exploited?
CVE-2023-46845 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-46845 affect?
CVE-2023-46845 affects ec-cube. Severity is high (CVSS 7.2). EC-CUBE 3 series (3.0.0 to 3.0.18-p6) and 4 series (4.0.0 to 4.0.6-p3, 4.1.0 to 4.1.2-p2, and 4.2.0 to 4.2.2) contain an arbitrary code execution vulnerability due to improper settings of the template engine Twig included in the product. As
How urgent is CVE-2023-46845?
Priority 49/100. High severity; Public exploit reference
Related CVEs
- CVE-2026-30777 MEDIUM 6.5 UPGRADE EC-CUBE provided by EC-CUBE CO.,LTD
- CVE-2023-40281 MEDIUM 4.8 UPGRADE EC-CUBE 2.11.0 to 2.17.2-p1 contain a cross-site scripting vulnerability in "mail/template" and "products/prod
- CVE-2023-25077 MEDIUM 5.4 UPGRADE Cross-site scripting vulnerability in Authentication Key Settings of EC-CUBE 4.0.0 to 4.0.6-p2, EC-CUBE 4.1.0
- CVE-2023-22838 MEDIUM 5.4 UPGRADE Cross-site scripting vulnerability in Product List Screen and Product Detail Screen of EC-CUBE 4.0.0 to 4.0.6-
- CVE-2023-22438 MEDIUM 5.4 UPGRADE Cross-site scripting vulnerability in Contents Management of EC-CUBE 4 series (EC-CUBE 4.0.0 to 4.0.6-p2, EC-C