Vulnerability · Published May 3, 2024 · Assigned by Wordfence
CVE-2024-4439
High 7.2
In plain English
A high-severity security flaw in WordPress from WordPress Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 71.0% (higher than 99.4% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | wordpress | 6.1.9+dfsg1-0+deb12u1 | DEBIAN-CVE-2024-4439 |
| Debian:12 | wordpress | 6.1.9+dfsg1-0+deb12u1 | DSA-6075-1 |
| Debian:13 | wordpress | 6.5.2+dfsg1-1 | DEBIAN-CVE-2024-4439 |
| Debian:14 | wordpress | 6.5.2+dfsg1-1 | DEBIAN-CVE-2024-4439 |
| Ubuntu:22.04:LTS | wordpress | no fix listed | UBUNTU-CVE-2024-4439 |
| Ubuntu:24.04:LTS | wordpress | no fix listed | UBUNTU-CVE-2024-4439 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| WordPress Foundation | WordPress | 6.0 – through 6.0.76.1 – through 6.1.56.2 – through 6.2.46.3 – through 6.3.36.4 – through 6.4.36.5 – through 6.5.1 |
Weakness: CWE-80 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
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/