Description
The Media Library Assistant plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'search-string' parameter in all versions up to, and including, 3.42 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. Exploitation requires the targeted site to have a publicly accessible page containing an [mla_gallery] shortcode configured with a pagination output mode and an mla_link_href template that reflects a {+request:...+} token, along with enough attachments to trigger pagination.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
dglingren Media Library Assistant
Default version status: unaffected
0 to ≤ 3.42affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/357d9d96-afb1-4b62-90cf-8d38a4cede0e?source=cve ↗
- https://plugins.trac.wordpress.org/browser/media-library-assistant/tags/3.42/includes/class-mla-shortcode-support.php#L2585 ↗
- https://plugins.trac.wordpress.org/browser/media-library-assistant/tags/3.42/includes/class-mla-shortcode-support.php#L2482 ↗
- https://plugins.trac.wordpress.org/browser/media-library-assistant/tags/3.42/includes/class-mla-data.php#L1548 ↗
- http://plugins.trac.wordpress.org/changeset/3760471 ↗
- https://plugins.trac.wordpress.org/browser/media-library-assistant/tags/3.43/includes/class-mla-shortcode-support.php ↗