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

Medium 6.4 CWE-79Fixed in 2.2.2
ID
WPSEC-2026-4265
Plugin
Author Avatars List/Block (author-avatars)
Affected
all versions before 2.2.2
Remediation
Update to 2.2.2 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-30
Attack surface
Author Avatars List/Block on WPSec AttackSurface
Fix released
Published

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

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0