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-5247

CVE-2026-5247: PublishPress Future Plugin XSS Vulnerability

CVE-2026-5247 is a stored cross-site scripting vulnerability in the PublishPress Future WordPress plugin that allows authenticated attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Published: May 7, 2026

CVE-2026-5247 Overview

CVE-2026-5247 is a Stored Cross-Site Scripting (XSS) vulnerability in the Schedule Post Changes With PublishPress Future plugin for WordPress. The flaw affects all versions up to and including 4.10.0. The vulnerability resides in the wrapper attribute of the [futureaction] shortcode, where insufficient input sanitization allows attribute injection. Authenticated attackers with administrator-level access can inject arbitrary JavaScript that executes when users visit affected pages. Administrators can also expose the shortcode functionality to lower-privileged users, extending the abuse surface to contributors. The issue is tracked under CWE-79.

Critical Impact

Authenticated users can inject persistent JavaScript into WordPress pages, enabling session theft, content manipulation, and privilege escalation against site visitors and administrators.

Affected Products

  • Schedule Post Changes With PublishPress Future plugin for WordPress
  • All plugin versions through 4.10.0
  • WordPress sites where contributors or other lower-privileged roles are granted shortcode usage

Discovery Timeline

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

Technical Details for CVE-2026-5247

Vulnerability Analysis

The vulnerability is a Stored Cross-Site Scripting issue in the [futureaction] shortcode handler. The plugin accepts a wrapper attribute that specifies the HTML tag used to wrap the shortcode output. The handler passes this attribute through esc_html() before inserting it into a sprintf() call that builds the resulting HTML element.

esc_html() only encodes HTML entities such as <, >, &, and quotes. It does not strip whitespace or block additional attribute syntax embedded inside the value. When the sanitized value is subsequently used as an HTML tag name, an attacker can supply a tag name followed by a space and arbitrary event handler attributes. The browser parses the injected handlers as part of the opening tag and executes the supplied JavaScript on page load.

The payload is stored in post content as part of the shortcode and renders for every visitor of the affected page. This makes the impact persistent rather than reflected.

Root Cause

The root cause is the use of an output-encoding function (esc_html()) for context-incorrect sanitization. HTML tag names require strict allow-list validation. Allowing attacker-controlled whitespace and characters into a position that the parser treats as the tag and attribute area produces attribute injection. See the vulnerable code path in ShortcodeController.php (line 173).

Attack Vector

An authenticated administrator authors a post or page containing a [futureaction] shortcode whose wrapper attribute carries a tag name followed by a space and an event handler such as onmouseover or onfocus. When any user visits the rendered page, the browser fires the injected handler in the victim's session context. Because administrators can delegate shortcode use, contributors with lower privileges can also stage payloads in their submissions, broadening the attack surface.

No verified public proof-of-concept code is available. Refer to the Wordfence Vulnerability Report for additional technical context.

Detection Methods for CVE-2026-5247

Indicators of Compromise

  • Post or page content containing [futureaction] shortcodes where the wrapper attribute includes whitespace followed by on* event handler names such as onclick, onerror, onmouseover, or onload.
  • Database wp_posts.post_content rows with wrapper= values containing characters beyond standard HTML tag names (letters and digits only).
  • Unexpected outbound requests from visitor browsers to attacker-controlled domains shortly after rendering pages that embed the shortcode.

Detection Strategies

  • Audit all stored shortcode usage by querying the WordPress database for [futureaction substrings and inspecting the wrapper attribute values.
  • Deploy a Web Application Firewall (WAF) rule that blocks requests submitting wrapper attributes containing whitespace or on event handler patterns.
  • Review WordPress audit logs for post edits authored by administrator or contributor accounts that introduce or modify [futureaction] shortcodes.

Monitoring Recommendations

  • Enable Content Security Policy (CSP) reporting to capture inline script execution attempts in rendered pages.
  • Monitor administrator and contributor account activity for anomalous post creation patterns or privilege changes.
  • Track plugin version inventory across managed WordPress sites to identify hosts still running PublishPress Future 4.10.0 or earlier.

How to Mitigate CVE-2026-5247

Immediate Actions Required

  • Update the Schedule Post Changes With PublishPress Future plugin to a version newer than 4.10.0 as soon as a fixed release is available from the PublishPress Future GitHub releases page.
  • Review and remove any existing [futureaction] shortcodes whose wrapper attribute contains whitespace or non-alphanumeric characters.
  • Restrict shortcode usage to trusted administrator accounts and revoke shortcode privileges previously granted to contributors or authors.

Patch Information

The vendor distributes fixes through the WordPress plugin repository and the PublishPress Future GitHub releases page. Apply the latest patched release that addresses the wrapper attribute sanitization in ShortcodeController.php. After patching, verify the fix by inspecting the controller logic against the trunk source.

Workarounds

  • Deactivate the PublishPress Future plugin until a patched version is installed if delegated shortcode use is in production.
  • Enforce a strict Content Security Policy that disables inline event handlers and inline scripts to neutralize injected payloads.
  • Limit administrator accounts and require multi-factor authentication to reduce the chance of attacker-controlled accounts authoring malicious shortcodes.
bash
# Configuration example: WordPress CLI commands to inventory and disable the plugin
wp plugin list --name=post-expirator --fields=name,status,version
wp plugin deactivate post-expirator
wp db query "SELECT ID, post_title FROM wp_posts WHERE post_content LIKE '%[futureaction%wrapper=%';"

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 Score5.5

  • EPSS Probability0.03%

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

  • WordPress Plugin Source Code

  • WordPress Plugin Source Code

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-6504: Royal Elementor Addons XSS Vulnerability

  • CVE-2026-6174: CC Child Pages WordPress Plugin XSS Flaw

  • CVE-2026-6252: Meta Field Block WordPress Plugin XSS Flaw

  • CVE-2026-3694: Bold Page Builder WordPress 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