CVE-2026-4912
The Media Cleaner: Clean your WordPress! plugin for WordPress is …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- plugins.trac.wordpress.org/browser/media-cleaner/tags/7.0.3/classes/core.php#L565
- plugins.trac.wordpress.org/browser/media-cleaner/tags/7.0.3/classes/core.php#L570
- plugins.trac.wordpress.org/browser/media-cleaner/tags/7.0.3/classes/rest.php#L118
- plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&n%20ew3492257%40media
- www.wordfence.com/threat-intel/vulnerabilities/id/e9c9214d-45d4-4477-8244-7802a4901114?sou
- nvd.nist.gov/vuln/detail/CVE-2026-4912
- cve.org/CVERecord?id=CVE-2026-4912
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.