CVE-2021-25968 OpenCMS - Stored Cross-Site Scripting (XSS) in Sitemap

Medium 5.4 Published Updated

Low-privileged users can inject malicious scripts into the Sitemap, leading to code execution in victims' browsers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-25968?

CVE-2021-25968 is a medium-severity cross-site scripting vulnerability in org.opencms opencms-core, published on 19 Oct 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

In “OpenCMS”, versions 10.5.0 to 11.0.2 are affected by a stored XSS vulnerability that allows low privileged application users to store malicious scripts in the Sitemap functionality. These scripts are executed in a victim’s browser when they open the page containing the vulnerable field.

Weakness: CWE-79

Which versions are affected by CVE-2021-25968?

It affects 1 product.

Products include Alkacon Opencms.

How do I fix CVE-2021-25968?

No fix has been published for CVE-2021-25968 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-2021-25968 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-25968 exists.

Sources

Also known as GHSA-p799-qjp6-h93p.

Is CVE-2021-25968 in your software?

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

Check your SBOMs for free