CVE-2021-29447

medium
Published — · Modified —
CVSS v3
CVSS v4 NEW
not yet in upstream
VIR risk
6.5

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.

✚ Propose a mitigation on Community → Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-50304 webapps php
David Utón · 2021-09-20

WordPress 5.7 - 'Media Library' XML External Entity Injection (XXE) (Authenticated)

Source code queued for fetch — refresh in a moment.

OS impact

arch Arch Fixed 1 release
VersionStatusFixed in
Fixed 5.7.1-1
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 5.7.1+dfsg1-1
sid Fixed 5.7.1+dfsg1-1
forky Fixed 5.7.1+dfsg1-1
bullseye Fixed 5.7.1+dfsg1-1
bookworm Fixed 5.7.1+dfsg1-1

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.