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 2,823 live websites that are affected by CVE-2025-8877.

Run a Free Instant Scan




Affected Software

Product  AffiliateWP
Category Wordpress Plugins
Vulnerable Domains2,823 live websites (50% of AffiliateWP install base)
Vulnerable Versions
  • from 0 through 2.28.2
Vulnerable Versions Count157 versions ( 85% 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 - Apr 8, 2026

Credits

  • LionTree (finder)

Website Distribution by Country

Number of websites using CVE-2025-8877
United States1,408 websites



Germany175 websites
Singapore163 websites
GB118 websites
Spain91 websites
France85 websites
Cyprus52 websites
Netherlands52 websites
Canada49 websites
Brazil44 websites

Website Distribution by TLD

Number of websites using CVE-2025-8877
.com1,834 websites
.de76 websites
.org71 websites
.net69 websites
.com.br42 websites
.co.uk40 websites
.co37 websites
.es33 websites
.ru30 websites
.nl29 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 Singapore*,***
**********.com United States**,***
***********.com Germany**,***
***********************.com Germany**,***
*********.com Czech Republic**,***
*****.io 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 2,823 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.