CVE-2024-4439
published high CVSS 3.1 · 7.2wordpress: stored cross-site scripting via user display names in the Avatar block
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| WordPress Foundation | — | WordPress6.0 through 6.0.7 · 6.1 through 6.1.5 · 6.2 through 6.2.4 · 6.3 through 6.3.3 · 6.4 through 6.4.3 · 6.5 through 6.5.1 · Other versions: unaffected | Affected | Not stated | Wordfence |
| wordpress | — | wordpress6.0 through 6.5.1 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Debian | bookworm | wordpress | Advisory build | 6.1.9+dfsg1-0+deb12u1 | DSA-6075-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| WordPress Foundation | WordPress | 6.0 through 6.0.7 (affected · semver)6.1 through 6.1.5 (affected · semver)6.2 through 6.2.4 (affected · semver)6.3 through 6.3.3 (affected · semver)6.4 through 6.4.3 (affected · semver)6.5 through 6.5.1 (affected · semver)Default: unaffected | Wordfence · cna |
| wordpress | wordpress | 6.0 through 6.5.1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-80 CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
References
5- https://core.trac.wordpress.org/changeset/57951/branches/6.4/src/wp-includes/blocks/avatar.php
- 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://wordpress.org/news/2024/04/wordpress-6-5-2-maintenance-and-security-release/
- https://www.wordfence.com/blog/2024/04/unauthenticated-stored-cross-site-scripting-vulnerability-patched-in-wordpress-core/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e363c09a-4381-4b3a-951c-9a0ff5669016?source=cve
Provider assertions
3Wordfence · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- debb412076e3db5d72fbf504409ee16f4c602efb618afe3865e876affc5ba5f8
- Ingested
- 23 Sep 2026, 08:29:37 UTC
- Source record
- Official CVE record