Home

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.

PUBLISHED Reserved 2025-08-11 | Published 2025-09-30 | Updated 2025-09-30 | Assigner Wordfence




HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem types

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

Product status

Default status
unaffected

*
affected

Timeline

2025-09-29:Disclosed

Credits

LionTree finder

References

www.wordfence.com/...-5be3-47d0-9c56-2fcda7662c71?source=cve

affiliatewp.com

cve.org (CVE-2025-8877)

nvd.nist.gov (CVE-2025-8877)

Download JSON