vulnerability

WordPress Plugin: affiliate-wp: CVE-2025-8877: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:C/I:N/A:N)
Published
Sep 29, 2025
Added
Sep 30, 2025
Modified
Oct 1, 2025

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.

Solution

affiliate-wp-plugin-cve-2025-8877
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.