# Author Avatars List/Block <= 2.2.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Card Dimension Shortcode and Block Attributes

- **ID:** WPSEC-2026-3819
- **Plugin:** Author Avatars List/Block (`author-avatars`), https://wordpress.org/plugins/author-avatars/
- **Affected versions:** from 2.1.27 before 2.2.1
- **Fixed in:** 2.2.1 (Update to 2.2.1 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-24)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/author-avatars
- **Fix released:** 2026-11-23
- **Published:** 2026-11-24
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3819/

## Description

The Author Avatars List/Block plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the card_min_width, card_max_width, card_min_height and card_max_height attributes of the [authoravatars] shortcode and the Show Avatar block in all versions up to, and including, 2.2.0, due to insufficient input validation and output escaping when these values are inserted into the inline style attribute of each user card. 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.

## References

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

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

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.
