{"id":"CVE-2025-8877","aliases":["CVE-2025-8877"],"related":[],"kind":"vulnerability","state":"published","title":"AffiliateWP <= 2.28.2 - Unauthenticated SQL Injection","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El plugin AffiliateWP para WordPress es vulnerable a inyección SQL a través de la función ajax_get_affiliate_id_from_login en todas las versiones hasta la 2.28.2, inclusive, debido a un escape insuficiente en el parámetro proporcionado por el usuario y la falta de preparación suficiente en la consulta SQL existente. Esto hace posible que atacantes no autenticados añadan consultas SQL adicionales a consultas ya existentes que pueden ser utilizadas para extraer información sensible de la base de datos.","source":"nvd"}],"published":"2025-09-30T08:25:20.251Z","modified":"2026-10-19T17:10:00.173Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.28.2","status":"affected"}],"vendor":"AffiliateWP","product":"AffiliateWP","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/5ae32a38-5be3-47d0-9c56-2fcda7662c71?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://affiliatewp.com","tags":[],"sources":["cvelist","nvd"]}],"credits":["LionTree"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-09-30T17:17:20.694Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-8877","url":"https://www.cve.org/CVERecord?id=CVE-2025-8877","licence":"CVE Terms of Use","modified":"2026-04-08T16:55:16.465Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-8877","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8877","licence":"Public domain","modified":"2026-10-19T17:10:00.173Z"}],"updatedAt":"2026-11-25T22:59:05.355Z","epss":{"score":0.00361,"percentile":0.31875,"date":"2026-12-01T12:00:22.000Z"}}