Skip to content

About

Easy Media Replace <= 0.2.0 - Authenticated (Author+) Stored Cross-Site Scripting

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

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.

About

Easy Media Replace <= 0.2.0 - Authenticated (Author+) Stored Cross-Site Scripting

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors