the Avatar block in various: Cross-site scripting
the Avatar block in various is affected by cross-site scripting. The vulnerable path is reachable without authentication. Injected script can execute in the affected site's origin when the vulnerable output is viewed.
- Component
- the Avatar block in various
- Plugin slug
Core- Affected
- See vendor advisory
- Safe version
- See mitigation notes
- Published
- May 03, 2024
This CVE was published May 03, 2024 and is one of 45 known issues for WordPress core.
Patch or disable the affected component.
Update the Avatar block in various to a release outside the affected range, or disable and remove it until a fixed version is available.
Technical 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.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
NVD vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Primary and upstream sources
- NVD record for CVE-2024-4439
- WordPress upstream reference core.trac.wordpress.org
- WordPress upstream reference core.trac.wordpress.org
- WordPress upstream reference wordpress.org
- Wordfence advisory wordfence.com
- Wordfence advisory wordfence.com
- WordPress upstream reference core.trac.wordpress.org
- WordPress upstream reference core.trac.wordpress.org
- WordPress upstream reference wordpress.org
- Wordfence advisory wordfence.com
- Wordfence advisory wordfence.com