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 5,596 live websites that are affected by CVE-2025-8877.
| Product | |
| Category | Wordpress Plugins |
| Vulnerable Domains | 5,596 live websites (77% of AffiliateWP install base) |
| Vulnerable Versions |
|
| Vulnerable Versions Count | 165 versions ( 98% of all versions) |
| 2,977 websites | |
| 335 websites | |
| 252 websites | |
| 229 websites | |
| 163 websites | |
| 157 websites | |
| 126 websites | |
| 97 websites | |
| 86 websites | |
| 84 websites |
| .com | 3,651 websites |
| .de | 140 websites |
| .org | 138 websites |
| .net | 120 websites |
| .co.uk | 102 websites |
| .nl | 87 websites |
| .com.br | 74 websites |
| .co | 71 websites |
| .com.au | 67 websites |
| .es | 56 websites |
| Domain | Country | Rank | Contacts |
|---|---|---|---|
| **********.******.com | *** | ||
| ************.com | *,*** | ||
| ***********.com | *,*** | ||
| **********.com | *,*** | ||
| ***************.com | *,*** | ||
| *******.org | *,*** | ||
| *************.com | *,*** | ||
| **********.com | **,*** | ||
| *************.com | **,*** | ||
| ***************.com | **,*** |
FAQ