CVE-2021-23260 Stored XSS Vulnerability in File Name of the File Upload function

Medium 6.5 Published Updated

Authenticated users can inject malicious scripts via file names in Crafter CMS, leading to XSS execution in other users' 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-23260?

CVE-2021-23260 is a medium-severity cross-site scripting vulnerability in Crafter CMS, published on 2 Dec 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

Authenticated users with Site roles may inject XSS scripts via file names that will execute in the browser for this and other users of the same site.

Weakness: CWE-79

Which versions are affected by CVE-2021-23260?

It affects 1 product.

Products include Craftercms Crafter Cms.

How do I fix CVE-2021-23260?

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

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

Sources

Also known as GHSA-h94f-223c-f5mw.

Is CVE-2021-23260 in your software?

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

Check your SBOMs for free