CVE-2026-85081: Multiple elFinder Plugins - DOM-based XSS via postMessage Origin Bypass
The File Manager WordPress plugin before 8.0.5, FileOrganizer WordPress plugin before 1.2.1, File Manager Pro WordPress plugin before 2.1.3 do not correctly validate the origin of window messages received by the file browser they load on their admin screens, accepting any origin that is a leading string prefix of the site's own address, which allows an unauthenticated attacker to run arbitrary JavaScript in the session of a logged-in administrator who visits a page under their control.
The defect is in the file-manager library all three bundle, and every version below 2.1.70 carries it. Updating the bundled library closes it.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
wordpress/file-managerto a version that resolves this vulnerability.Fixed in 8.0.5 - Upgrade
Upgrade
wordpress/fileorganizerto a version that resolves this vulnerability.Fixed in 1.2.1 - Upgrade
Upgrade
wordpress/file-manager-proto a version that resolves this vulnerability.Fixed in 2.1.3 - Upgrade
Upgrade
file-manager libraryto a version that resolves this vulnerability.Fixed in 2.1.70
Event History
Frequently Asked Questions
Who is exposed to exploitation?
A logged-in WordPress administrator is the target. An unauthenticated attacker must cause that administrator to visit an attacker-controlled page while the administrator has an active session.
Which installations are affected?
The issue affects File Manager versions before 8.0.5, FileOrganizer versions before 1.2.1, and File Manager Pro versions before 2.1.3. It is present in bundled elFinder library versions below 2.1.70.
What should be updated to remediate the issue?
Update the affected WordPress plugin to a version that includes the corrected bundled file-manager library. The vulnerable behavior is closed by updating elFinder to version 2.1.70 or later.