File Manager: Multiple elFinder Plugins - DOM-based XSS via postMessage Origin Bypass
What fixes it
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
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.
Text from CVE List
Affected versions 3
- File Manageraffected: all versions before 8.0.5CVE List
- FileOrganizeraffected: all versions before 1.2.1CVE List
- File Manager Proaffected: all versions before 2.1.3CVE List