# WPAdverts – Classifieds Plugin <= 2.3.4 - Unauthenticated Stored Cross-Site Scripting via Advert Location and Contact Fields

- **ID:** WPSEC-2026-0651
- **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:** High 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/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-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-0651/

## Description

The WPAdverts – Classifieds Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via advert fields such as Location, Contact Person and Phone Number in versions 2.0.0 up to, and including, 2.3.4 due to insufficient input sanitization and output escaping. The front-end advert submission form, which accepts submissions from visitors without an account by default, stored these values without removing HTML. The Classifieds List block, used on the plugin's default Classifieds page where it shows each advert's location, printed them without escaping, as did the Single Data Table and Single Value blocks. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses a page listing or displaying the affected advert.

## References

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

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

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.
