Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.opencms/opencms-core
  4. ›
  5. CVE-2024-5520

CVE-2024-5520: OpenCMS Cross-Site Scripting vulnerability

May 30, 2024

Two Cross-Site Scripting vulnerabilities have been discovered in Alkacon’s OpenCMS affecting version 16, which could allow a user: with sufficient privileges to create and modify web pages through the admin panel, can execute malicious JavaScript code, after inserting code in the title field. Another could having the roles of gallery editor or VFS resource manager will have the permission to upload images in the .svg format containing JavaScript code. The code will be executed the moment another user accesses the image.

References

  • github.com/advisories/GHSA-vg6x-pchq-98mg
  • github.com/alkacon/opencms-core
  • github.com/alkacon/opencms-core/commit/b05a5aca0f2b03042ddf2b2bb45fe2243a4084a7
  • nvd.nist.gov/vuln/detail/CVE-2024-5520
  • www.incibe.es/en/incibe-cert/notices/aviso/cross-site-scripting-stored-alkacon-opencms

Code Behaviors & Features

Detect and mitigate CVE-2024-5520 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 16.0 before 17.0, version 16.0

Fixed versions

  • 17.0

Solution

Upgrade to version 17.0 or above.

Impact 6.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/org.opencms/opencms-core/CVE-2024-5520.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:24 +0000.