CVE-2024-5521 Cross-Site Scripting stored in Alkacon OpenCMS

Medium 6.4 Published Updated

Attackers with specific roles can upload malicious SVG files to execute JavaScript in other users' browsers, potentially leading to session hijacking.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-5521?

CVE-2024-5521 is a medium-severity cross-site scripting vulnerability in Alkacon OpenCMS, published on 30 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Two Cross-Site Scripting vulnerabilities have been discovered in Alkacon's OpenCMS affecting version 16, which could allow a user 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.

Weakness: CWE-79

Which versions are affected by CVE-2024-5521?

It affects 1 product.

Products include Alkacon Opencms.

How do I fix CVE-2024-5521?

No fix has been published for CVE-2024-5521 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-5521 being exploited?

There is no known exploitation of CVE-2024-5521 in the wild and no public exploit code.

Sources

Is CVE-2024-5521 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free