# WPAdverts – Classifieds Plugin <= 2.3.4 - Reflected Cross-Site Scripting via '_adverts_action' Parameter

- **ID:** WPSEC-2026-0652
- **Plugin:** WPAdverts – Classifieds Plugin (`wpadverts`), https://wordpress.org/plugins/wpadverts/
- **Affected versions:** from 2.0.0 before 2.3.5
- **Fixed in:** 2.3.5 (Update to 2.3.5 or later.)
- **Severity:** Medium 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/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-10-08)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wpadverts
- **Fix released:** 2026-10-07
- **Published:** 2026-10-08
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0652/

## Description

The WPAdverts – Classifieds Plugin plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the '_adverts_action' parameter in versions 2.0.0 up to, and including, 2.3.4 due to insufficient output escaping. On pages containing the plugin's Publish block, an unrecognized action name was printed back in an error message without escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

## References

- https://wpsec.com/vuln/WPSEC-2026-0652/
- https://plugins.svn.wordpress.org/wpadverts/tags/2.3.5/
- https://wordpress.org/plugins/wpadverts/

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

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.
