WordPress Core < 6.5.2 - Unauthenticated & Authenticated (Contributor+) Stored Cross-Site Scripting via Avatar Block

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2024-4439
CVSS High (7.2)
Publicly Published April 9, 2024
Last Updated May 3, 2024
Researcher John Blackbourn, stealthcopter
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.

References

1 affected software package

Software Type Core
Software Slug wordpress (view on wordpress.org)
Patched? Yes
Affected Version
  • 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
Patched Version
  • 6.0.8
  • 6.1.6
  • 6.2.5
  • 6.3.4
  • 6.4.4
  • 6.5.2
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.