Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
XSS with unauthenticated network delivery and scope change; A:N assigned as XSS does not typically cause availability loss on the hosting system.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
Lifecycle Timeline
2DescriptionCVE.org
Unauthenticated Cross Site Scripting (XSS) in AffiliateWP <= 2.35.0 versions.
AnalysisAI
Unauthenticated XSS in the AffiliateWP WordPress plugin (versions ≤ 2.35.0) allows remote attackers to inject malicious scripts that execute in victims' browsers, with scope change (S:C) indicating the injected code crosses the plugin's security boundary into the broader browser session. Exploitation requires a victim to interact with a crafted link (UI:R), meaning fully automated drive-by attacks are not possible, but a phishing or malicious-link delivery campaign could enable session hijacking or administrative action abuse against authenticated WordPress users. No public exploit code and no CISA KEV listing have been identified at time of analysis.
Technical ContextAI
AffiliateWP is a commercial affiliate marketing plugin for WordPress, responsible for tracking referral links, managing affiliates, and generating commission data. CWE-79 (Improper Neutralization of Input During Web Page Generation) identifies the root cause: user-controlled input is rendered in an HTML context without adequate sanitization or encoding, allowing script injection. The CVSS Scope:Changed metric confirms that script execution escapes the plugin's own trust boundary and operates within the victim's browser session - a distinct security principal - enabling access to cookies, DOM content, and the ability to perform credentialed actions on behalf of the victim. The CPE string cpe:2.3:a:affiliatewp:affiliatewp:*:*:*:*:*:*:*:* with a wildcard version component confirms the full range through 2.35.0 is affected.
RemediationAI
Update AffiliateWP to a version above 2.35.0; the specific patched release version is not confirmed from available data and must be verified directly via the Patchstack advisory at https://patchstack.com/database/wordpress/plugin/affiliate-wp/vulnerability/wordpress-affiliatewp-plugin-2-35-0-cross-site-scripting-xss-vulnerability or the plugin's official changelog. As an interim compensating control, deploy a Web Application Firewall (WAF) rule - such as those provided by Wordfence or Cloudflare - to block XSS payloads in AffiliateWP-related request parameters; note that overly aggressive WAF rules may block legitimate affiliate tracking parameters and should be tested in audit mode first. Implementing a strict Content Security Policy (CSP) header on the WordPress site (e.g., script-src 'self') reduces the blast radius of a successful XSS by preventing inline script execution and cross-origin data exfiltration, but does not eliminate the vulnerability itself and may require tuning to avoid breaking legitimate site functionality.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-53967
GHSA-pjm5-g378-cvc8