AffiliateWP <= 2.28.2 - Unauthenticated SQL Injection
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| AffiliateWP | AffiliateWP | up to 2.28.2 | — | No fix listed | CNA |
- AffiliateWP VendorAffiliateWP Affected up to 2.28.2 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2025-8877
- 2026-10-03 Alias added: GHSA-mjmg-pjmq-g329
References
More AffiliateWP vulnerabilities
- TI-2026-46685 WordPress AffiliateWP plugin <= 2.35.0 - Cross Site Scripting (XSS) vulnerability CVSS 3.1HIGH 7.1
- TI-2026-41630 WordPress AffiliateWP plugin <= 2.34.0 - Reflected Cross Site Scripting (XSS) vulnerability CVSS 3.1HIGH 7.1
- TI-2023-04244 The AffiliateWP for WordPress is vulnerable to unauthorized modification of data due to a… CVSS 3.1MEDIUM 4.3
Sources
- CVE-2025-8877 · CVE Program
- CVE-2025-8877 · NVD
- FIRST EPSS
- GHSA-mjmg-pjmq-g329 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences