CVE-2023-42345 Alkacon OpenCms is vulnerable to XSS via updateModelGroups.jsp
Cross-site scripting in OpenCms allows attackers to inject malicious scripts via updateModelGroups.jsp, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-42345?
CVE-2023-42345 is a medium-severity cross-site scripting vulnerability in n/a, published on 8 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A Cross Site Scripting vulnerability in Alkacon OpenCms before 16 exists via updateModelGroups.jsp.
Weakness: CWE-79
Which versions are affected by CVE-2023-42345?
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-42345?
Upgrade org.opencms:opencms-core to 16.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2023-42345 being exploited?
There is no known exploitation of CVE-2023-42345 in the wild and no public exploit code.
Sources
Also known as GHSA-2887-f3v6-6rjf.