## https://sploitus.com/exploit?id=PACKETSTORM:231132
# CVE-2026-15253
Easy Media Replace <= 0.2.0 - Authenticated (Author+) Stored Cross-Site Scripting
## Description
The Easy Media Replace plugin is vulnerable to a Stored Cross-Site Scripting (XSS) via the media attachment title. When an Author renames a media file using an XSS payload and an Admin or Editor navigates to the media library in list view and hovers the "Replace" link, the payload executes. This occurs because the plugin outputs the media title without applying esc_attr(), breaking out of the HTML attribute context.
## POC
1. Connect with an Author level account.
2. Upload a file.
3. Rename the file with the title: ```photo" onmouseover='alert(document.domain)'```
4. Log out.
5. Connect with an Admin or Editor account.
6. Go to the Media page (list view).
7. Hover over the Replace link of the file.