CVE-2023-42346 Alkacon OpenCms is vulnerable to XXE when the <!DOCTYPE> refers to an external host
An attacker can exploit an XML External Entity vulnerability in OpenCms to read sensitive data or cause denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-42346?
CVE-2023-42346 is a high-severity vulnerability in n/a, published on 8 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Alkacon OpenCms before 16 allows XXE when the <!DOCTYPE> refers to an external host.
Weakness: CWE-611
Which versions are affected by CVE-2023-42346?
2 open source packages ship an affected version, including org.opencms:opencms-core.
| Package | Affected | Fixed in |
|---|---|---|
org.opencms:opencms-core Maven | All versions | 16.0 |
org.opencms:opencms-core Maven | All versions | 16.0 |
How do I fix CVE-2023-42346?
Upgrade org.opencms:opencms-core to 16.0 or later.
Is CVE-2023-42346 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-42346 exists.
Sources
Also known as GHSA-pj6p-9p8x-5mfc.