# Simple Staff List <= 2.2.6 - Authenticated (Editor+) Stored Cross-Site Scripting via Facebook URL

- **ID:** WPSEC-2026-4679
- **Plugin:** Simple Staff List (`simple-staff-list`), https://wordpress.org/plugins/simple-staff-list/
- **Affected versions:** from 1.15 before 2.2.7
- **Fixed in:** 2.2.7 (Update to 2.2.7 or later.)
- **Severity:** Medium 4.0 (CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-05)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/simple-staff-list
- **Fix released:** 2026-12-04
- **Published:** 2026-12-05
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4679/

## Description

The Simple Staff List plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the staff member Facebook URL field in all versions up to, and including, 2.2.6 due to the value being saved with only sanitize_text_field and placed into the staff list template's [staff-facebook] tag with esc_html instead of URL escaping, so URL schemes are never checked. This makes it possible for authenticated attackers with Editor-level access and above (users with edit_pages) to store javascript: URLs that run script in a visitor's browser when they click the link, on sites whose staff list template puts [staff-facebook] in a link's href. This mainly matters on multisite installations or sites where those users lack unfiltered_html.

## References

- https://wpsec.com/vuln/WPSEC-2026-4679/
- https://plugins.svn.wordpress.org/simple-staff-list/tags/2.2.7/
- https://wordpress.org/plugins/simple-staff-list/

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

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.
