CVE-2024-4439
WordPress Core is vulnerable to Stored Cross-Site Scripting via user display names in the Avatar block in various versions up to 6.5.2 due to insufficient output escaping on the display name. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. In addition, it also makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that have the comment block present and display the comment author's avatar.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | wordpress | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | wordpress | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | wordpress | Under investigation | UBUNTU-CVE-2024-4439 | |
| Ubuntu 22.04 | wordpress | Under investigation | UBUNTU-CVE-2024-4439 | |
| Ubuntu 20.04 | wordpress | Fix pending | UBUNTU-CVE-2024-4439 | |
| Ubuntu 18.04 | wordpress | Fix pending | UBUNTU-CVE-2024-4439 | |
| Ubuntu 16.04 | wordpress | Fix pending | UBUNTU-CVE-2024-4439 | |
| Debian 14 | wordpress | Fixed | 6.5.2+dfsg1-1 | DEBIAN-CVE-2024-4439 |
| Debian 13 | wordpress | Fixed | 6.5.2+dfsg1-1 | DEBIAN-CVE-2024-4439 |
| Debian 12 | wordpress | Fixed | 6.1.9+dfsg1-0+deb12u1 | DEBIAN-CVE-2024-4439 |
What the vendor says
As published in the CVE record by Wordfence, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- WordPress Foundation WordPress: affected: 6.0 to 6.0.7, 6.1 to 6.1.5, 6.2 to 6.2.4, 6.3 to 6.3.3, 6.4 to 6.4.3, 6.5 to 6.5.1
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e363c09a-4381-4b3a-951c-9a0ff5669016?source=cve
- https://wordpress.org/news/2024/04/wordpress-6-5-2-maintenance-and-security-release/
- https://core.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=57950%40%2F&new=57950%40%2F&sfp_email=&sfph_mail=#file3
- https://core.trac.wordpress.org/changeset/57951/branches/6.4/src/wp-includes/blocks/avatar.php
- https://www.wordfence.com/blog/2024/04/unauthenticated-stored-cross-site-scripting-vulnerability-patched-in-wordpress-core/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.