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

2024-04-09 00:00
John Blackbourn

Strategic Overview

Status
Patched in 6.0.8
Affected CoreWordPress 6.5
Affected Version6.0 – 6.5.1 · 6 branches
CVSS7.2High
CVECVE-2024-4439
View all WordPress 6.5 vulnerabilities

Vulnerability Overview

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.

Technical Analysis

REMEDIATION: Update to one of the following versions, or a newer patched version: 6.0.8, 6.1.6, 6.2.5, 6.3.4, 6.4.4, 6.5.2 --- IDENTIFIER: CWE-79 (Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C