# Author Avatars List/Block <= 2.2.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting via User Email Address

- **ID:** WPSEC-2026-4265
- **Plugin:** Author Avatars List/Block (`author-avatars`), https://wordpress.org/plugins/author-avatars/
- **Affected versions:** all versions before 2.2.2
- **Fixed in:** 2.2.2 (Update to 2.2.2 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-30)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/author-avatars
- **Fix released:** 2026-11-29
- **Published:** 2026-11-30
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4265/

## Description

The Author Avatars List/Block plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the user email address displayed by the [show_avatar] shortcode's show_email option in all versions up to, and including, 2.2.1 due to insufficient output escaping of the email in the mailto link attribute and link text. Because WordPress email sanitization permits characters such as single quotes in the local part, this makes it possible for authenticated attackers, with subscriber-level access and above, to set a crafted email address on their profile that injects arbitrary web scripts into pages where the shortcode displays their email, which will execute whenever a user accesses an injected page.

## References

- https://wpsec.com/vuln/WPSEC-2026-4265/
- https://plugins.svn.wordpress.org/author-avatars/tags/2.2.2/
- https://wordpress.org/plugins/author-avatars/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4265/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
