Description
The List Attachments Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'before_list' parameter in the [list-attachments] shortcode in all versions up to, and including, 0.4.1a due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
* - 0.4.1a
Timeline
| 2025-12-05: | Disclosed |
Credits
Muhammad Yudha - DJ
References
www.wordfence.com/...-b337-478f-aaaa-2ce19c4deb4c?source=cve
plugins.trac.wordpress.org/...list-attachments-shortcode.php
plugins.trac.wordpress.org/...list-attachments-shortcode.php