# Team Members Showcase <= 4.2.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode CSS Unit Settings

- **ID:** WPSEC-2026-3709
- **Plugin:** Team Members Showcase (`wps-team`), https://wordpress.org/plugins/wps-team/
- **Affected versions:** all versions before 4.2.3
- **Fixed in:** 4.2.3 (Update to 4.2.3 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-22)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wps-team
- **Fix released:** 2026-11-21
- **Published:** 2026-11-22
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3709/

## Description

The Team Members Showcase plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the CSS size unit values (slider, dimension, font-size and line-height units) in shortcode settings in all versions up to, and including, 4.2.2. This is due to insufficient input sanitization and output escaping: unit values are saved without an allowlist check and placed unchanged into the generated custom CSS, which is printed inside a style tag. Because the shortcode create and update AJAX routes only required the edit_posts capability, this makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts into pages that execute whenever a user accesses a page displaying the affected team shortcode.

## References

- https://wpsec.com/vuln/WPSEC-2026-3709/
- https://plugins.svn.wordpress.org/wps-team/tags/4.2.3/
- https://wordpress.org/plugins/wps-team/

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

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.
