Description
The Media Cleaner: Clean your WordPress! plugin for WordPress is vulnerable to Server-Side Request Forgery in all versions up to, and including, 7.0.3. This is due to the `get_urls_from_html()` function using `DOMDocument::loadHTMLFile()` to fetch iframe source URLs with an insufficient hostname validation check that relies on a substring match against the site's server name. This makes it possible for authenticated attackers, with Administrator-level access and above, to make web requests to arbitrary locations originating from the web application, which can be used to query and interact with internal services.
References5
- plugins.trac.wordpress.org/browser/media-cleaner/tags/7.0.3/cla…
- plugins.trac.wordpress.org/browser/media-cleaner/tags/7.0.3/cla…
- plugins.trac.wordpress.org/browser/media-cleaner/tags/7.0.3/cla…
- plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&repo…
- www.wordfence.com/threat-intel/vulnerabilities/id/e9c9214d-45d4…
Metrics
- CVSS 3.1
-
4.1
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N - EPSS — exploit probability
- 0% percentile: 36 · as of 13 November 2026
- CWE
- CWE-918
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.