CVE-2023-6379: Alkacon OpenCMS Mercury Template XSS Vulnerability

org.opencms:opencms-core Updated 02 Oct 2025

Summary

13/12/2023
Yes i
Moderate
5.4

CVE-2023-6379: Alkacon OpenCMS XSS via Mercury template. Affects org.opencms:opencms-core versions >= 14.0.0, < 16.0.0. Fixed in 16.0.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Alkacon OpenCMS is a powerful open-source content management system (CMS) designed for creating and managing digital content. It is widely used for building websites and applications due to its flexibility and extensibility. The Mercury template, part of OpenCMS, is utilized for rendering web pages. However, versions 14 and 15 of this template are vulnerable to a cross-site scripting (XSS) attack, which can compromise user sessions.

Vulnerability Detail

The vulnerability arises from improper handling of user input in the Mercury template, allowing attackers to inject malicious JavaScript code. When a victim interacts with a compromised page, the attacker can execute arbitrary scripts in the context of the victim's browser, potentially leading to session hijacking, data theft, or other malicious activities. This XSS vulnerability is classified under CWE-79, indicating a failure to properly sanitize user input.

How To Fix

Latest published version: 22.0 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

16.0.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate upgrading is not feasible, consider implementing input validation and output encoding in your application to mitigate the risk of XSS attacks. Ensure that any user-generated content is properly sanitized before rendering it on the web pages.

Conclusion

The Alkacon OpenCMS vulnerability (CVE-2023-6379) presents a significant risk due to its potential for XSS attacks. Users of affected versions should prioritize updating to version 16.0.0 or later to safeguard against this vulnerability. Implementing best practices for input validation can also help mitigate risks in the interim.

See every vulnerability recorded for org.opencms:opencms-core →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 5.4, indicating a moderate severity level.

Versions 14 and 15 of the Mercury template in Alkacon OpenCMS are affected by this vulnerability.

An attacker can execute malicious JavaScript in the victim's browser, potentially leading to session hijacking and data theft.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Yes, you can implement input validation and output encoding to reduce the risk of XSS attacks until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for org.opencms:opencms-core.

How To Fix

Latest published version: 22.0 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

16.0.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback