Bug 2278924 (CVE-2024-4439) - CVE-2024-4439 wordpress: stored cross-site scripting via user display names in the Avatar block
Summary: CVE-2024-4439 wordpress: stored cross-site scripting via user display names i...
Keywords:
Status: NEW
Alias: CVE-2024-4439
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2278925 2278926
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-03 18:29 UTC by Robb Gatica
Modified: 2024-05-03 18:29 UTC (History)
0 users

Fixed In Version: wordpress 6.5.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Robb Gatica 2024-05-03 18:29:33 UTC
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.

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

Comment 1 Robb Gatica 2024-05-03 18:29:48 UTC
Created wordpress tracking bugs for this issue:

Affects: epel-all [bug 2278925]
Affects: fedora-all [bug 2278926]


Note You need to log in before you can comment on or make changes to this bug.