Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| WordPress Foundation | WordPress | 6.0 – ≤ 6.0.7, 6.1 – ≤ 6.1.5, 6.2 – ≤ 6.2.4, 6.3 – ≤ 6.3.3, 6.4 – ≤ 6.4.3, 6.5 – ≤ 6.5.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | wordpress | 6.5.2+dfsg1-1 | — |
| Debian 13 | wordpress | 6.5.2+dfsg1-1 | — |
| Debian 12 | wordpress | 6.1.9+dfsg1-0+deb12u1 | DSA-6075-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | wordpress | No fix yet | — |
| Ubuntu 22.04 LTS | wordpress | No fix yet | — |
| Ubuntu 20.04 LTS | wordpress | No fix yet | — |
| Ubuntu 18.04 LTS | wordpress | No fix yet | — |
| Ubuntu 16.04 LTS | wordpress | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 5 repositories
-
d0rb/CVE-2024-4439 ★ 12 · May 6, 2024
The provided exploit code leverages a stored Cross-Site Scripting (XSS) vulnerability (CVE-2024-4439) in WordPress Core versions up to 6.5.1.
-
MielPopsssssss/CVE-2024-4439 ★ 2 · May 6, 2024
CVE-2024-4439 PoC
-
w0r1i0g1ht/CVE-2024-4439 ★ 0 · Nov 21, 2024
CVE-2024-4439 docker and poc
-
soltanali0/CVE-2024-4439 ★ 0 · Oct 10, 2024
aa
-
xssor-dz/-CVE-2024-4439 ★ 0 · May 20, 2024
WordPress Core < 6.5.2 - Unauthenticated & Authenticated (Contributor+) Stored Cross-Site Scripting via Avatar Block
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- WordPress Core <6.5.2 - Cross-Site Scripting http/cves/2024/CVE-2024-4439.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 2
- DSA-6075-1 wordpress - security update Debian Security (DSA / DLA) · Dec 10, 2025
- WID-SEC-2024-1060 WordPress: Schwachstelle ermöglicht Cross-Site Scripting BSI CERT-Bund (WID) · Dec 9, 2025
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/