# Happierleads <= 1.0.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Client ID Setting

- **ID:** WPSEC-2026-1135
- **Plugin:** Happierleads – Identify your B2B website visitors even if they work remotely (`happierleads`), https://wordpress.org/plugins/happierleads/
- **Affected versions:** all versions before 3.1.0
- **Fixed in:** 3.1.0 (Update to 3.1.0 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-10-16)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/happierleads
- **Fix released:** 2026-10-15
- **Published:** 2026-10-16
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1135/

## Description

The Happierleads plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Client ID setting in all versions up to, and including, 1.0.1, due to the settings page being available to any user with the edit_posts capability and the stored Client ID being echoed into the input's value attribute without escaping (sanitize_text_field() does not encode quotes). This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts that execute whenever a user, including an administrator, opens the plugin's settings page.

## References

- https://wpsec.com/vuln/WPSEC-2026-1135/
- https://plugins.svn.wordpress.org/happierleads/tags/3.1.0/
- https://wordpress.org/plugins/happierleads/

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

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.
