# WebberZone Top 10 <= 4.6.2 - Authenticated (Administrator+) Stored Cross-Site Scripting via Settings Import

- **ID:** WPSEC-2026-3505
- **Plugin:** WebberZone Top 10 — Popular Posts (`top-10`), https://wordpress.org/plugins/top-10/
- **Affected versions:** all versions before 4.7.0
- **Fixed in:** 4.7.0 (Update to 4.7.0 or later.)
- **Severity:** Medium 4.4 (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-19)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/top-10
- **Fix released:** 2026-11-18
- **Published:** 2026-11-19
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3505/

## Description

The WebberZone Top 10 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the settings import feature in all versions up to, and including, 4.6.2, due to the imported JSON settings being saved on admin_init priority 9, before the settings sanitization callback is registered, so values such as Custom CSS are stored unsanitized and later printed unescaped in a style tag on the front end. This makes it possible for authenticated attackers with administrator-level access to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects installations where administrators lack the unfiltered_html capability, such as multisite installations.

## References

- https://wpsec.com/vuln/WPSEC-2026-3505/
- https://plugins.svn.wordpress.org/top-10/tags/4.7.0/
- https://wordpress.org/plugins/top-10/

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

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.
