# WP2LEADS |  WordPress und KlickTipp einfach verbinden – WooCommerce und KlickTipp einfach verbinden <= 3.5.6 - Authenticated (Subscriber+) SQL Injection via Map Query Parameters

- **ID:** WPSEC-2026-1719
- **Plugin:** WP2LEADS |  WordPress und KlickTipp einfach verbinden – WooCommerce und KlickTipp einfach verbinden (`wp2leads`), https://wordpress.org/plugins/wp2leads/
- **Affected versions:** all versions before 3.5.12
- **Fixed in:** 3.5.12 (Update to 3.5.12 or later.)
- **Severity:** Medium 6.5 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N)
- **Weakness:** CWE-89
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp2leads
- **Fix released:** 2026-10-26
- **Published:** 2026-10-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1719/

## Description

The WP2LEADS plugin for WordPress is vulnerable to SQL Injection via user-supplied map definitions (such as the 'from', 'joins', 'full_selects', comparison, 'keyBy' and virtual relationship fields) in all versions up to, and including, 3.5.6. This is due to table and column names being used in SQL without validation, comparison values being inserted without escaping, and the AJAX actions that accept these maps lacking capability checks. This makes it possible for authenticated attackers, with Subscriber-level access and above, to append additional SQL queries to existing queries and extract sensitive information from the database.

## References

- https://wpsec.com/vuln/WPSEC-2026-1719/
- https://plugins.svn.wordpress.org/wp2leads/tags/3.5.12/
- https://wordpress.org/plugins/wp2leads/

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

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.
