CVE-2021-40966 Cross-site scripting in n/a
Attackers can execute arbitrary JavaScript in victim browsers by uploading files with malicious names, potentially leading to session hijacking or data theft.
- 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-40966?
CVE-2021-40966 is a medium-severity cross-site scripting vulnerability in n/a, published on 15 Sep 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
A Stored XSS exists in TinyFileManager All version up to and including 2.4.6 in /tinyfilemanager.php when the server is given a file that contains HTML and javascript in its name. A malicious user can upload a file with a malicious filename containing javascript code and it will run on any user browser when they access the server.
Weakness: CWE-79
Which versions are affected by CVE-2021-40966?
It affects 1 product.
Products include Prasathmani Tiny File Manager.
How do I fix CVE-2021-40966?
No fix has been published for CVE-2021-40966 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-40966 being exploited?
There is no known exploitation of CVE-2021-40966 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-vmj3-x582-v9f4.