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

CVE-2026-1899: Any Post Slider WordPress Plugin XSS Flaw

CVE-2026-1899 is a stored cross-site scripting vulnerability in the Any Post Slider plugin for WordPress that allows authenticated attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigations.

Published: March 27, 2026

CVE-2026-1899 Overview

The Any Post Slider plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability in the aps_slider shortcode that affects all versions up to and including 1.0.4. The vulnerability stems from insufficient input sanitization and output escaping on the post_type attribute, allowing authenticated attackers with Contributor-level access or higher to inject arbitrary web scripts into pages. These malicious scripts execute whenever any user accesses the compromised page, potentially leading to session hijacking, data theft, or malicious redirects.

Critical Impact

Authenticated attackers with Contributor-level access can inject persistent malicious scripts that execute in the browsers of all users viewing affected pages, enabling session theft, credential harvesting, and website defacement.

Affected Products

  • Any Post Slider WordPress Plugin versions up to and including 1.0.4
  • WordPress installations with the vulnerable plugin installed and active
  • Sites allowing Contributor-level or higher user registrations

Discovery Timeline

  • 2026-03-21 - CVE-2026-1899 published to NVD
  • 2026-03-23 - Last updated in NVD database

Technical Details for CVE-2026-1899

Vulnerability Analysis

This Stored XSS vulnerability exists in the aps_slider shortcode implementation within the Any Post Slider plugin. The root issue lies in how the plugin processes the post_type attribute without proper sanitization before rendering output to the page.

When a user with Contributor-level access creates or edits content containing the aps_slider shortcode, they can include malicious JavaScript within the post_type parameter. Because the plugin fails to properly escape this user-controlled input before outputting it to the HTML, the injected script becomes permanently stored in the database and executes whenever the page is rendered in a visitor's browser.

The network-accessible nature of this attack combined with the low privilege requirements (Contributor access) and changed scope (ability to impact other users) makes this vulnerability particularly concerning for multi-author WordPress sites. The attack requires no user interaction beyond simply viewing the infected page.

Root Cause

The vulnerability originates from missing input validation and output encoding in the file any-post-slider-no_content.php. The post_type attribute value from the shortcode is directly incorporated into the rendered HTML output without being passed through WordPress sanitization functions such as esc_attr(), esc_html(), or wp_kses(). This allows script tags and JavaScript event handlers embedded in the attribute to be rendered as executable code rather than escaped text.

Attack Vector

The attack is executed over the network by an authenticated user with at least Contributor-level privileges. The attacker creates a new post or edits existing content, embedding a crafted aps_slider shortcode with a malicious post_type attribute containing JavaScript payload.

The vulnerability is exploited through the WordPress shortcode system. An attacker with Contributor access can craft a shortcode that includes JavaScript in the post_type parameter. When the page containing this shortcode is viewed by any user (including administrators), the injected script executes in the context of the victim's browser session.

Typical attack scenarios include:

  • Stealing administrator session cookies to gain full site control
  • Injecting keyloggers to capture credentials
  • Redirecting visitors to phishing or malware distribution sites
  • Defacing website content to damage reputation

Detection Methods for CVE-2026-1899

Indicators of Compromise

  • Unexpected JavaScript code within post content containing aps_slider shortcodes
  • Posts with unusual post_type attribute values containing special characters like <, >, script, or event handlers (onerror, onload)
  • Browser console warnings about blocked inline scripts (if Content Security Policy is enabled)
  • User reports of unexpected popups, redirects, or behavior when viewing specific pages

Detection Strategies

  • Scan WordPress database for aps_slider shortcodes with suspicious post_type attribute values containing HTML or JavaScript
  • Implement Web Application Firewall (WAF) rules to detect XSS patterns in WordPress post content
  • Review posts and pages created or modified by Contributor-level users for malicious shortcode usage
  • Monitor server access logs for unusual patterns following page views containing the slider plugin

Monitoring Recommendations

  • Enable WordPress activity logging to track shortcode usage and modifications by user role
  • Implement Content Security Policy (CSP) headers to mitigate script execution from injected payloads
  • Configure real-time alerts for database modifications to the wp_posts table that contain potential XSS patterns
  • Regularly audit Contributor-level user accounts and their content for suspicious activity

How to Mitigate CVE-2026-1899

Immediate Actions Required

  • Update the Any Post Slider plugin to a patched version if available from the WordPress Plugin Repository
  • Review all existing content using the aps_slider shortcode for suspicious post_type attribute values
  • Temporarily deactivate the plugin if no patch is available until an update is released
  • Restrict Contributor-level account creation and audit existing Contributor users

Patch Information

At the time of disclosure, organizations should check the WordPress Any Post Slider Plugin page for updated versions. The vulnerable code can be reviewed in the WordPress Plugin File (1.0.4) and compared against the trunk version for potential fixes. Additional vulnerability details are available in the Wordfence Vulnerability Report.

Workarounds

  • Deactivate the Any Post Slider plugin until a security patch is released
  • Remove Contributor-level access from untrusted users or elevate trust requirements for content publication
  • Implement a Content Security Policy (CSP) header to block inline script execution as a defense-in-depth measure
  • Use a WordPress security plugin with virtual patching capabilities to filter malicious shortcode attributes
bash
# Add Content Security Policy header in .htaccess as temporary mitigation
# This helps prevent execution of injected scripts
<IfModule mod_headers.c>
    Header set Content-Security-Policy "script-src 'self'; object-src 'none';"
</IfModule>

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 File (1.0.4)

  • WordPress Plugin File (trunk)

  • WordPress Any Post Slider Plugin

  • 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-6672: SliceWP Affiliates 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