Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft XSS payload in AffiliateWP URL parameter
-
DeliveryDeliver crafted link to target via phishing or social engineering
-
ExploitVictim (authenticated WP user) clicks link
-
ExecutionBrowser reflects and executes injected script (UI:R triggered)
-
ImpactScript exfiltrates session token or performs admin action on victim's behalf
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target WordPress site must have the AffiliateWP plugin installed and active in version 2.35.0 or earlier. No authentication is required to deliver the XSS payload (PR:N), but a victim must click a crafted link or visit a page containing the injected content (UI:R) - unaided automated exploitation without social engineering is not possible. The highest-impact exploitation targets authenticated WordPress users with elevated roles (administrators, editors, shop managers), whose compromised session yields privileged access. No non-default configuration is required; the plugin's presence alone constitutes the vulnerable condition. Exploitation is limited to environments where victims can be induced to interact with attacker-controlled URLs. |
| Impact | The CVSS 7.1 High score is driven by AV:N (network-reachable), PR:N (no authentication required to deliver the payload), and S:C (scope change amplifies impact). The UI:R requirement is the primary limiting factor - automated, opportunistic mass exploitation is not feasible without social engineering to make a victim click a crafted link. No EPSS data was provided in the input, so exploitation probability cannot be quantified. No KEV listing indicates CISA has not confirmed active exploitation, and no public exploit code exists at time of analysis. Real-world priority is moderate-to-high for organizations running AffiliateWP: the unauthenticated delivery vector and scope change make this meaningfully more dangerous than typical authenticated XSS, particularly if administrators or high-privilege users are targeted. Sites with a large affiliate-facing attack surface (public referral links, affiliate dashboards) have elevated exposure. |
| Exploit ScenarioDerived | An attacker identifies a vulnerable AffiliateWP parameter that reflects unsanitized input and crafts a malicious URL embedding a JavaScript payload (e.g., a cookie-stealing script). The attacker distributes the link via a phishing email or social media post targeting WordPress site administrators or affiliate managers. When a logged-in user clicks the link, the script executes in their browser, exfiltrates their session cookie to an attacker-controlled server, and grants the attacker authenticated access to the WordPress admin panel. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 06, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Affiliatewp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
DescriptionCVE.org
Unauthenticated Cross Site Scripting (XSS) in AffiliateWP <= 2.35.0 versions.
Executive ViewAI
The AffiliateWP WordPress plugin (versions ≤2.35.0) contains a cross-site scripting vulnerability (CVE-2026-65515) that enables attackers to hijack administrator sessions and execute unauthorized actions on affected websites. No public exploit has been identified at time of analysis, but attackers could leverage phishing campaigns to deliver malicious payloads. Organizations using this plugin face immediate operational risk until a vendor patch becomes available.
Pending vendor patch availability, implement Web Application Firewall (WAF) rules targeting script injection patterns; enforce Content Security Policy (CSP) headers to restrict inline script execution; reduce WordPress user roles to least-privilege assignments; enable comprehensive logging and alerting on admin account activity; consider temporarily disabling the AffiliateWP plugin until a patched version is available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Affiliatewp
View allReflected cross-site scripting in the AffiliateWP WordPress plugin (versions 2.34.0 and earlier) lets unauthenticated re
The AffiliateWP for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on th
EUVD-2026-53967
GHSA-pjm5-g378-cvc8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB