CVE-2024-5520: OpenCMS Cross-Site Scripting vulnerability
6.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.34766%
CWE
Published
5/30/2024
Updated
5/30/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.opencms:opencms-core | maven | = 16.0 | 17.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The analysis involved examining the patches for CVE-2024-5520 in OpenCMS. The patches modified two classes, CmsCreateSiteThread
and CmsDeleteSiteDialog
, to properly escape site titles when generating output, thus fixing an XSS vulnerability. The functions run()
in CmsCreateSiteThread
and getContent()
in CmsDeleteSiteDialog
were identified as vulnerable because they directly handled user input (site titles) without proper sanitization before outputting it.