Media Library Assistant <= 3.35 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'mla_link_href' Shortcode Parameter
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
The Media Library Assistant plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'mla_gallery' shortcode in versions up to and including 3.35. This is due to insufficient input sanitization and output escaping on the mla_link_href parameter when mla_output is set to 'paginate_links', where the _paginate_links() function processes the value through mla_process_shortcode_parameter() and _replace_query_parameter() without proper URL escaping, then outputs it directly in href attributes without applying esc_url(). This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- dglingren Media Library Assistant
through 3.35
References 8
plugins.trac.wordpress.org
- browser/media-library-assistant/tags/3.34/includes/class-mla-shortcodes.php#L39
- browser/media-library-assistant/trunk/includes/class-mla-shortcode-support.php#L2484
- browser/media-library-assistant/tags/3.34/includes/class-mla-shortcode-support.php#L2484
- browser/media-library-assistant/trunk/includes/class-mla-shortcode-support.php#L2449
- browser/media-library-assistant/tags/3.34/includes/class-mla-shortcode-support.php#L2449
- browser/media-library-assistant/trunk/includes/class-mla-shortcodes.php#L39
- changeset/3512155