CVE-2023-6379 Cross-site Scripting in Alkacon Software OpenCms

Medium 5.4 Published Updated

Remote attackers can inject JavaScript into the Mercury template to hijack user sessions in OpenCms.

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-6379?

CVE-2023-6379 is a medium-severity cross-site scripting vulnerability in Alkacon Open CMS, published on 13 Dec 2023. 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

Cross-site scripting (XSS) vulnerability in Alkacon Software Open CMS, affecting versions 14 and 15 of the 'Mercury' template. This vulnerability could allow a remote attacker to send a specially crafted JavaScript payload to a victim and partially take control of their browsing session.

Weakness: CWE-79

Which versions are affected by CVE-2023-6379?

2 open source packages ship an affected version, including org.opencms:opencms-core. It affects 1 product.

PackageAffectedFixed in
org.opencms:opencms-core MavenFrom 14.0.016.0.0
org.opencms:opencms-core MavenFrom 14.0.016.0.0

Products include Alkacon Opencms.

How do I fix CVE-2023-6379?

Upgrade org.opencms:opencms-core to 16.0.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-6379 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-6379 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-w62v-q77r-66cc.

Is CVE-2023-6379 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free