← Vulnerability feed

Vulnerability record · CVE-2021-29447 · published 15 April 2021

CVE-2021-29447: WordPress Media Library XXE via file upload on PHP 8

Wordpress · Wordpress

WordPress Media Library mishandles XML parsing of uploaded files when the site runs on PHP 8, allowing an XML external entity (XXE) attack. A user with upload rights, such as an Author, can trigger it through the upload flow. It matters because it exposes internal files to a low-privileged authenticated user, and it was fixed in WordPress 5.7.1 plus minor releases for older branches.

6.5 CVSS 3.1 Medium EPSS 86% · top 0.3% CWE-611 · XML external entity (XXE)
6.5CVSS 3.1 base score, v2 4.0
86%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
14References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

Wordpress is an open source CMS. A user with the ability to upload files (like an Author) can exploit an XML parsing issue in the Media Library leading to XXE attacks. This requires WordPress installation to be using PHP 8. Access to internal files is possible in a successful XXE attack. This has been patched in WordPress version 5.7.1, along with the older affected versions via a minor release. We strongly recommend you keep auto-updates enabled.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityPublic exploit material and a very high EPSS score make this readily exploitable, though it requires an authenticated upload-capable account and PHP 8.

What it is

WordPress Media Library mishandles XML parsing of uploaded files when the site runs on PHP 8, allowing an XML external entity (XXE) attack. A user with upload rights, such as an Author, can trigger it through the upload flow. It matters because it exposes internal files to a low-privileged authenticated user, and it was fixed in WordPress 5.7.1 plus minor releases for older branches.

Impact

An attacker with upload capability can read internal files on the server through XXE, gaining access to data outside the intended upload scope. The CVSS vector shows high confidentiality impact with no integrity or availability effect.

Attack surface

Reached over the network through the WordPress Media Library upload feature; it requires an authenticated account with file upload permission (Author level or above) and no user interaction beyond the upload. It only applies to installations running PHP 8.

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.857 probability, 99.7th percentile) and multiple references are tagged Exploit, indicating public exploit material exists. No ransomware group use is documented.

What to do

  • Upgrade WordPress to 5.7.1 or the latest minor release for your branch, and keep auto-updates enabled.
  • Apply the Debian security update (DSA-4896) if WordPress is installed from Debian packages.
  • Restrict file upload privileges so only trusted roles can upload to the Media Library.
  • Disable external entity resolution in PHP XML parsing where feasible, or avoid running WordPress on PHP 8 until patched.

Detection

  • Review web server and WordPress logs for uploads of XML-bearing files (for example MP3 or other media containing XML) by low-privileged users.
  • Monitor for outbound or local file access patterns consistent with XXE, such as requests referencing file:// or unexpected entity expansion.
  • Audit user roles and recent upload activity for Author-level accounts performing unusual media uploads.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-29447 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-63030WordPress REST API route confusion leads to SQL injection and RCEWordPress 6.9.x before 6.9.5 and 7.0.x before 7.0.2 contain a REST API batch endpoint route confusion flaw (CWE-436). Chained with the author__not_in…KEVEPSS 10%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed

Source: NIST National Vulnerability Database (record CVE-2021-29447), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.