What’s Vulnerable › Vulnerabilities

CVE-2025-8877: AffiliateWP <= 2.28.2 - Unauthenticated SQL Injection

Description

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.

Affected products

References

Get alerted when CVE-2025-8877 or the next vulnerability affects your stack