The AffiliateWP plugin for WordPress is vulnerable to SQL Injection via the ajax_get_affiliate_id_from_login function in all versions up to, and including, 2.28.2 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
We have discovered 2,823 live websites that are affected by CVE-2025-8877.
| Product | |
| Category | Wordpress Plugins |
| Vulnerable Domains | 2,823 live websites (50% of AffiliateWP install base) |
| Vulnerable Versions |
|
| Vulnerable Versions Count | 157 versions ( 85% of all versions) |
| 1,408 websites | |
| 175 websites | |
| 163 websites | |
| 118 websites | |
| 91 websites | |
| 85 websites | |
| 52 websites | |
| 52 websites | |
| 49 websites | |
| 44 websites |
| .com | 1,834 websites |
| .de | 76 websites |
| .org | 71 websites |
| .net | 69 websites |
| .com.br | 42 websites |
| .co.uk | 40 websites |
| .co | 37 websites |
| .es | 33 websites |
| .ru | 30 websites |
| .nl | 29 websites |
| Domain | Country | Rank | Contacts |
|---|---|---|---|
| ***********.com | *,*** | ||
| **********.com | **,*** | ||
| ***********.com | **,*** | ||
| ***********************.com | **,*** | ||
| *********.com | **,*** | ||
| *****.io | **,*** | ||
| ******.com | **,*** | ||
| ************.com | **,*** | ||
| **************.com | **,*** | ||
| **************.com | **,*** |
FAQ