CVE-2025-8877

AffiliateWP <= 2.28.2 - Unauthenticated SQL Injection

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.

Run a Free Instant Scan




Affected Software

Product  AffiliateWP
Category Wordpress Plugins
Vulnerable Domains5,596 live websites (77% of AffiliateWP install base)
Vulnerable Versions
  • from 0 through 2.28.2
Vulnerable Versions Count165 versions ( 98% of all versions)


Common Weakness Enumeration

CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')



Details

  • Published - Sep 30, 2025
  • Updated - Sep 30, 2025

Credits

  • LionTree (finder)

Website Distribution by Country

Number of websites using CVE-2025-8877
United States2,977 websites



Germany335 websites
GB252 websites
Singapore229 websites
France163 websites
Spain157 websites
Netherlands126 websites
Canada97 websites
Cyprus86 websites
Australia84 websites

Website Distribution by TLD

Number of websites using CVE-2025-8877
.com3,651 websites
.de140 websites
.org138 websites
.net120 websites
.co.uk102 websites
.nl87 websites
.com.br74 websites
.co71 websites
.com.au67 websites
.es56 websites

Vulnerable Versions

Vulnerable versions are highlighted in red

Websites affected by CVE-2025-8877

Top websites that are affected by CVE-2025-8877. Please click on the "Contact us" link to get more information.
DomainCountryRankContacts
**********.******.com United States***
************.com United States*,***
***********.com Singapore*,***
**********.com United States*,***
***************.com United States*,***
*******.org United States*,***
*************.com United States*,***
**********.com United States**,***
*************.com United States**,***
***************.com United States**,***
See full domain list

FAQ

CVE-2025-8877 is Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in AffiliateWP
A total of 5,596 websites have been identified as vulnerable to CVE-2025-8877, based on global website indexing conducted by WebTechSurvey.
The AffiliateWP is affected by the CVE-2025-8877 vulnerability.
AffiliateWP versions up to and including 2.28.2 are vulnerable to CVE-2025-8877.