Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-4439
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 04:20 UTC · Revision 1
Source evidence
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.
osv:CVE-2024-4439
Complete source record
{
"id": "6b5f4c3fb32d90e1c40ab4d75e1085536c4b8cb599c3bcfcbb1c2bcc4f70de05",
"url": "https://osv.dev/vulnerability/CVE-2024-4439",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-4439",
"summary": "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.",
"evidence": "osv:CVE-2024-4439",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-4439",
"aliases": [
"BIT-wordpress-2024-4439",
"BIT-wordpress-multisite-2024-4439",
"CVE-2024-4439"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wordpress/wordpress",
"type": "GIT",
"events": [
{
"introduced": "cc101b64012b16d087780657a2b828ccd7794a63"
},
{
"last_affected": "8e188eb150ba5668e5ca42fe599788af2f897c11"
},
{
"introduced": "6c5d5b5dcb9712bfc400b09cb6627e42898527af"
},
{
"last_affected": "0829db91f97d7c11e8186761dfcb0ad16dbd0e1f"
},
{
"introduced": "17e2eff4aa3beb2802cbec12b6f08e2fbf69893d"
},
{
"last_affected": "6e337fb3bd4d7035dc507df7e5cad477a64e8724"
},
{
"introduced": "ac3899153a790a6f060dc816ff94812e0fd99875"
},
{
"last_affected": "3a495a2d71987d21c6eeaa403eb656b7fb785217"
},
{
"introduced": "e2d61d78ede843c2d05f44a4e15f30a57fb47d95"
},
{
"last_affected": "d86d26bd27cc6bee1797fa7b4cd11f62a9d7c42c"
},
{
"introduced": "e75a577410e912e1408c49ace9103c3ee9997d76"
},
{
"last_affected": "ab5f082a5c8b958175e9860b4aff947a3b354f6c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0"
},
{
"last_affected": "6.0.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.1"
},
{
"last_affected": "6.1.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.2"
},
{
"last_affected": "6.2.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.3"
},
{
"last_affected": "6.3.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.4.0"
},
{
"last_affected": "6.4.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.5"
},
{
"last_affected": "6.5.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-4439.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/wordpress/wordpress-develop",
"type": "GIT",
"events": [
{
"introduced": "1c0a2efa5eac05dfd3b7d2b9cfe68e02da55b966"
},
{
"last_affected": "51e1504558785e87360fe93a9178608551960ea1"
},
{
"introduced": "e33c9f3203961a823ec8410fc1481f6c87b4e3db"
},
{
"last_affected": "6be383b734be0338e99709c141d5bcd1b9ba33a5"
},
{
"introduced": "b829903bb0104bfeccc7623946a25cb7ccda1dea"
},
{
"last_affected": "57a0893fc820b425ba1ebe76e56d67499d0c0614"
},
{
"introduced": "4a6363076129378869f8742ef00a39a7421e6f29"
},
{
"last_affected": "efe8c1b9742a9c64bacede0cf135c20e8839d60e"
},
{
"introduced": "82dab16707a0a9af6a9707fed979a559aefdd511"
},
{
"last_affected": "9e9559d6d6bd2327dee822c305b2905b65a91ef2"
},
{
"introduced": "720804c22f867fe56332ab513428e945c24b889d"
},
{
"last_affected": "671aba4a000a97a33483733e6d18d910dc7681d2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0"
},
{
"last_affected": "6.0.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.1"
},
{
"last_affected": "6.1.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.2"
},
{
"last_affected": "6.2.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.3"
},
{
"last_affected": "6.3.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.4.0"
},
{
"last_affected": "6.4.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.5"
},
{
"last_affected": "6.5.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-4439.json"
}
}
],
"modified": "2026-10-28T02:30:49.602258381Z",
"provider": "osv",
"references": [
"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/threat-intel/vulnerabilities/id/e363c09a-4381-4b3a-951c-9a0ff5669016?source=cve",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4439.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-4439",
"https://www.wordfence.com/blog/2024/04/unauthenticated-stored-cross-site-scripting-vulnerability-patched-in-wordpress-core/"
],
"provider_metadata": {
"cna_assigner": "Wordfence",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "6.0"
},
{
"last_affected": "6.0.7"
},
{
"introduced": "6.1"
},
{
"last_affected": "6.1.5"
},
{
"introduced": "6.2"
},
{
"last_affected": "6.2.4"
},
{
"introduced": "6.3"
},
{
"last_affected": "6.3.3"
},
{
"introduced": "6.4"
},
{
"last_affected": "6.4.3"
},
{
"introduced": "6.5"
},
{
"last_affected": "6.5.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4439.json"
}
},
"related_cves": [
{
"value": "CVE-2024-4439",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 518082,
"published_at": "2024-05-03T05:32:34.988+00:00"
}