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

Published Sep 30, 2025
·
Updated

The AffiliateWP plugin for WordPress is vulnerable to SQL Injection via the ajaxgetaffiliateidfromlogin 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 Software

1 affected component
AffiliateWP AffiliateWP<=2.28.2

Event History

Sep 30, 2025
CVE Published
via MITRE·08:25 AM
Data Sourced
via MITRE·08:25 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:37 AM
DescriptionSeverityWeakness
Apr 14, 57904
Event
via FIRST·06:03 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-8877?

CVE-2025-8877 is considered critical due to its potential for exploiting SQL Injection vulnerabilities in vulnerable systems.

2

How do I fix CVE-2025-8877?

To fix CVE-2025-8877, update the AffiliateWP plugin to version 2.28.3 or later where the vulnerability has been addressed.

3

What versions of the AffiliateWP plugin are affected by CVE-2025-8877?

All versions of the AffiliateWP plugin up to and including 2.28.2 are affected by CVE-2025-8877.

4

What type of vulnerability is CVE-2025-8877?

CVE-2025-8877 is an SQL Injection vulnerability affecting the ajax_get_affiliate_id_from_login function in the AffiliateWP plugin.

5

What impact can CVE-2025-8877 have on a website?

CVE-2025-8877 can allow attackers to execute arbitrary SQL queries, potentially leading to data theft or unauthorized access to sensitive information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203