CVE-2021-23260 Stored XSS Vulnerability in File Name of the File Upload function
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.
Other vulnerabilities in Crafter CMS
- CVE-2017-15681 Path Traversal in Crafter CMS Crafter Studio
- CVE-2018-19907 OS Command Injection in craftercms:crafter-studio
- CVE-2017-15683 XML injection in Crafter CMS
- CVE-2017-15685 XML Injection in Crafter CMS Crafter Studio 3.0.1
- CVE-2021-23264 Exposure of Resource to Wrong Sphere in org.craftercms:crafter-search
Sources
Also known as GHSA-h94f-223c-f5mw.