CVE-2021-45919 Studio 42 elFinder allows stored XSS
Attackers can execute arbitrary scripts in user browsers by uploading malicious SVG files to the elFinder file manager.
- 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-45919?
CVE-2021-45919 is a medium-severity cross-site scripting vulnerability in n/a, published on 8 Feb 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Studio 42 elFinder through 2.1.31 allows XSS via an SVG document.
Weakness: CWE-79
Which versions are affected by CVE-2021-45919?
2 open source packages ship an affected version, including studio-42/elfinder. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
studio-42/elfinder Packagist | All versions to 2.1.31 | None |
studio-42/elfinder Packagist | All versions to 2.1.31 | None |
Products include Std42 Elfinder.
How do I fix CVE-2021-45919?
No fix has been published for CVE-2021-45919 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-45919 being exploited?
There is no known exploitation of CVE-2021-45919 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-c3j8-q5x6-2855.