The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-6672

CVE-2026-6672: SliceWP Affiliates Plugin XSS Vulnerability

CVE-2026-6672 is a stored cross-site scripting flaw in the SliceWP Affiliates plugin for WordPress that lets authenticated attackers inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Published: May 7, 2026

CVE-2026-6672 Overview

CVE-2026-6672 is a Stored Cross-Site Scripting (XSS) vulnerability in the Affiliate Program Suite — SliceWP Affiliates plugin for WordPress. The flaw affects all versions up to and including 1.2.7. The vulnerability stems from insufficient input sanitization and output escaping on user-supplied attributes in the slicewp_affiliate_url shortcode. Authenticated attackers with contributor-level access or higher can inject arbitrary JavaScript into pages. The injected scripts execute in the browser of any user who views the affected page, enabling session theft, credential harvesting, or redirection attacks.

Critical Impact

Authenticated contributors can persist arbitrary JavaScript through the slicewp_affiliate_url shortcode, executing scripts in the browsers of administrators and visitors who load affected pages.

Affected Products

  • Affiliate Program Suite — SliceWP Affiliates plugin for WordPress
  • All versions up to and including 1.2.7
  • WordPress sites permitting contributor-level or higher account registration

Discovery Timeline

  • 2026-05-06 - CVE-2026-6672 published to NVD
  • 2026-05-06 - Last updated in NVD database

Technical Details for CVE-2026-6672

Vulnerability Analysis

The vulnerability is a Stored Cross-Site Scripting issue classified under [CWE-79]. The slicewp_affiliate_url shortcode processes user-supplied attributes without applying adequate sanitization on input or escaping on output. When a contributor embeds the shortcode into a post or page, attribute values flow into the rendered HTML without being filtered through WordPress functions such as esc_attr() or esc_url(). Any visitor who loads the page executes the attacker-controlled payload in their browser session.

Because the payload persists in the database, the attack does not require continued attacker interaction. The scope is marked as changed, reflecting that script execution affects users beyond the attacker's privilege boundary, including authenticated administrators.

Root Cause

The root cause is missing input validation and missing output encoding on shortcode attributes. WordPress shortcodes accept attributes as key-value pairs that authors control. When the plugin renders the slicewp_affiliate_url shortcode, attribute values are emitted directly into HTML context without being passed through escaping helpers. The fix in changeset 3517135 adjusts the shortcode handler to properly sanitize and escape these attributes.

Attack Vector

An attacker first obtains a WordPress account at contributor level or above. Account creation may be possible through open registration, social engineering, or credential reuse. The attacker then drafts a post that includes the slicewp_affiliate_url shortcode with a malicious attribute value containing JavaScript, such as an event handler attribute or a javascript: URL. Once the post is published or previewed by a higher-privileged user such as an editor or administrator, the script executes in that user's browser context, potentially leading to session hijacking or privilege escalation through administrative actions performed on behalf of the victim.

No verified public exploit code is available. The vulnerability mechanism is documented in the Wordfence Vulnerability Report and the WordPress Plugin Changeset.

Detection Methods for CVE-2026-6672

Indicators of Compromise

  • Posts or pages containing the slicewp_affiliate_url shortcode with attribute values that include <script>, onerror=, onload=, or javascript: patterns
  • Unexpected outbound requests from administrator browsers to attacker-controlled domains shortly after viewing posts authored by contributors
  • New administrator accounts, modified user roles, or altered plugin and theme files following contributor activity

Detection Strategies

  • Audit the WordPress wp_posts table for shortcode usage with suspicious attribute content using a query that searches for slicewp_affiliate_url combined with HTML or JavaScript metacharacters
  • Review web server access logs for requests to admin pages immediately followed by anomalous POST requests originating from administrator sessions
  • Monitor browser content security policy (CSP) violation reports for inline script execution on pages rendering the affected shortcode

Monitoring Recommendations

  • Enable verbose logging on the WordPress site, including content modifications by contributor-level users
  • Track creation, modification, and publication events on posts containing shortcodes from the SliceWP plugin
  • Alert on privilege changes, new user creation, and plugin or theme file modifications that occur outside scheduled maintenance windows

How to Mitigate CVE-2026-6672

Immediate Actions Required

  • Update the Affiliate Program Suite — SliceWP Affiliates plugin to a version newer than 1.2.7 that incorporates the fix from changeset 3517135
  • Audit existing posts and pages for malicious use of the slicewp_affiliate_url shortcode and remove any injected payloads
  • Review contributor-level and higher accounts for legitimacy and rotate credentials for any suspicious accounts

Patch Information

The vendor patched the vulnerability in the SliceWP plugin repository. The fix is available in the WordPress Plugin Changeset 3517135, which adds proper sanitization and output escaping for the slicewp_affiliate_url shortcode attributes. Site administrators should apply the update through the WordPress plugin management interface.

Workarounds

  • Restrict contributor and author account creation until the patch is applied, particularly disabling open registration
  • Remove or disable the SliceWP Affiliates plugin if an immediate update cannot be performed
  • Deploy a web application firewall rule that inspects post content for shortcode attributes containing HTML tags, event handlers, or javascript: URIs
  • Enforce a strict Content Security Policy that blocks inline scripts on the WordPress front end to limit XSS payload execution

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWordpress

  • SeverityMEDIUM

  • CVSS Score6.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • WordPress Plugin Changeset

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-7448: LatePoint WordPress Plugin XSS Vulnerability

  • CVE-2026-7332: LatePoint WordPress Plugin XSS Vulnerability

  • CVE-2026-7457: WordPress LatePoint Plugin XSS Vulnerability

  • CVE-2026-6378: Maxi Blocks WordPress Plugin XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English