GHSA-vg6x-pchq-98mg
OpenCMS Cross-Site Scripting vulnerability
Quick fix
GHSA-vg6x-pchq-98mg — org.opencms:opencms-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>17.0</version> for org.opencms:opencms-coreDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
16.0Fixed in: 17.0# pom.xml: bump <version>17.0</version> for org.opencms:opencms-coreReferences
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/org.opencms/opencms-core"]}'