CVE-2021-24177 WP File Manager < 7.1 - Reflected Cross-Site Scripting (XSS)

Medium 5.4 Published Updated

Attackers can execute arbitrary scripts in victim browsers via reflected XSS in the WP File Manager plugin, potentially leading to session hijacking or site compromise.

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-24177?

CVE-2021-24177 is a medium-severity cross-site scripting vulnerability in Unknown File Manager, published on 5 Apr 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

In the default configuration of the File Manager WordPress plugin before 7.1, a Reflected XSS can occur on the endpoint /wp-admin/admin.php?page=wp_file_manager_properties when a payload is submitted on the User-Agent parameter. The payload is then reflected back on the web application response.

Weakness: CWE-79

Which versions are affected by CVE-2021-24177?

It affects 1 product.

Products include Filemanagerpro File Manager.

How do I fix CVE-2021-24177?

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

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

Sources

Also known as CVE-2021-27802, GHSA-hwf5-vp84-w4x7.

Is CVE-2021-24177 in your software?

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

Check your SBOMs for free