SQL Injection Vulnerability in AffiliateWP Plugin for WordPress
CVE-2025-8877

7.5HIGH

Key Information:

Vendor

WordPress

Vendor
CVE Published:
30 September 2025

What is CVE-2025-8877?

The AffiliateWP plugin for WordPress suffers from a SQL Injection vulnerability due to inadequate input validation on user-supplied parameters within the ajax_get_affiliate_id_from_login function. This flaw exists in all versions up to and including 2.28.2. It allows unauthenticated attackers to manipulate existing SQL queries, potentially gaining access to sensitive database information through additional query injection. Website owners should take immediate action to update the plugin to mitigate the risk associated with this vulnerability.

Affected Version(s)

AffiliateWP * <= 2.28.2

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

LionTree
.