CVE-2021-40966: XSS

Published Sep 15, 2021
·
Updated

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.

Affected Software

2 affected components
Tinyfilemanager Project Tinyfilemanager<=2.4.6
prasathmani Tiny File Manager<=2.4.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade TinyFileManager to a version that resolves this vulnerability.

    Fixed in 2.4.6

Event History

Sep 15, 2021
CVE Published
via MITRE·05:10 PM
Data Sourced
via MITRE·05:10 PM
Description
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-40966?

CVE-2021-40966 is rated as a high severity vulnerability due to its potential for exploitation through stored XSS attacks.

2

How do I fix CVE-2021-40966?

To mitigate CVE-2021-40966, upgrade TinyFileManager to version 2.4.7 or later, where the vulnerability has been addressed.

3

What versions of TinyFileManager are affected by CVE-2021-40966?

CVE-2021-40966 affects all versions of TinyFileManager up to and including version 2.4.6.

4

What type of attack can be executed using CVE-2021-40966?

CVE-2021-40966 allows attackers to perform stored cross-site scripting (XSS) attacks by uploading files with malicious filenames that contain JavaScript code.

5

Can CVE-2021-40966 affect all users of TinyFileManager?

Yes, any user accessing files with malicious JavaScript in their filenames could be affected by CVE-2021-40966, making it a widespread risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203