{"id":"CVE-2026-4912","summary":"Media Cleaner: Clean your WordPress! \u003c= 7.0.3 - Authenticated (Administrator+) Server-Side Request Forgery","details":"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.","modified":"2026-10-06T02:38:51.583013808Z","published":"2026-07-28T18:35:52.515Z","database_specific":{"cwe_ids":["CWE-918"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4912.json","unresolved_ranges":[{"extracted_events":[{"last_affected":"7.0.3"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"Wordfence"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4912.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4912"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/browser/media-cleaner/tags/7.0.3/classes/core.php#L565"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/browser/media-cleaner/tags/7.0.3/classes/core.php#L570"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/browser/media-cleaner/tags/7.0.3/classes/rest.php#L118"},{"type":"WEB","url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&n%20ew3492257%40media-cleaner%2Ftrunk&old=3447443%40media-cleaner%2Ftrunk&sfp_ema%20il=&sfph_mail="},{"type":"WEB","url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/e9c9214d-45d4-4477-8244-7802a4901114?source=cve"}],"affected":[{"package":{"name":"media-cleaner","ecosystem":"WordPress:Plugin"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"7.0.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-4912.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N"}]}