Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/media-cleaner/tags/7.0.3/classes/core
- https://plugins.trac.wordpress.org/browser/media-cleaner/tags/7.0.3/classes/core
- https://plugins.trac.wordpress.org/browser/media-cleaner/tags/7.0.3/classes/rest
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&n%2
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e9c9214d-45d4-4477-824
FAQ
What is CVE-2026-4912?
CVE-2026-4912 is a vulnerability with a CVSS score of 4.1 (MEDIUM). 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()` functi...
How severe is CVE-2026-4912?
CVE-2026-4912 has been rated MEDIUM with a CVSS base score of 4.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-4912?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.