CVE-2024-42699: Cross-Site Scripting Vulnerability in Alkacon OpenCMS 17.0

org.opencms:opencms-core Updated 14 Dec 2025

Summary

21/04/2025
No i
Low
2.0

CVE-2024-42699: OpenCMS Cross-Site Scripting vulnerability. Affects org.opencms:opencms-core versions < 17.0. No fix is published. 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 Penetration testing for web, API and mobile 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 widely used open-source content management system (CMS) that enables users to create, manage, and publish digital content. It is built on Java and is known for its flexibility and scalability, making it suitable for various applications, from small websites to large enterprise solutions. However, OpenCMS 17.0 has been identified to have a Cross-Site Scripting (XSS) vulnerability that can be exploited by attackers.

Vulnerability Detail

The vulnerability arises from the Create/Modify article function in Alkacon OpenCMS 17.0, where a remote attacker can inject malicious JavaScript payloads through the image title sub-field in the image field. This XSS vulnerability can lead to unauthorized actions being performed on behalf of users, data theft, and potentially compromising user accounts. The vulnerability is classified under CWE-79, which pertains to improper neutralization of input during web page generation.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can sanitize the input in the image title sub-field to prevent the execution of any JavaScript code. This can be done by implementing input validation and escaping any special characters that could lead to script execution.

Conclusion

The Cross-Site Scripting vulnerability in Alkacon OpenCMS 17.0 poses significant risks to users and their data. It is crucial to update to a patched version to ensure the security of the application. Additionally, implementing input validation can serve as a temporary measure until the update is completed.

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

Share this vulnerability

FAQ

XSS is a security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users, potentially leading to data theft or unauthorized actions.

You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.

The risks include unauthorized access to user accounts, data theft, and the potential for attackers to perform actions on behalf of users.

Yes, users should upgrade to a version later than 17.0 to mitigate the vulnerability.

If immediate updates are not possible, implement input validation and sanitization as a temporary measure to mitigate the risk of XSS attacks.

Related vulnerabilities

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

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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