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

CVE-2026-4805: Woostify WordPress Plugin XSS Vulnerability

CVE-2026-4805 is a stored XSS flaw in the Woostify WordPress plugin affecting versions up to 2.5.0. Attackers with contributor access can inject malicious scripts. This article covers technical details, impact, and mitigation.

Published: April 30, 2026

CVE-2026-4805 Overview

The Woostify plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability in versions up to and including 2.5.0. This security flaw exists due to insufficient input sanitization and output escaping in the bundled Lity.js lightbox library. The vulnerability occurs when user-controlled input from the href attribute is concatenated directly into a jQuery HTML string without proper sanitization, allowing authenticated attackers with Contributor-level access or above to inject arbitrary web scripts into pages that execute whenever a user accesses an injected page.

Critical Impact

Authenticated attackers can inject malicious scripts that persist on WordPress pages, potentially leading to session hijacking, credential theft, and further compromise of the WordPress installation.

Affected Products

  • Woostify WordPress Plugin versions up to and including 2.5.0
  • WordPress installations using the vulnerable Lity.js lightbox library bundled with Woostify
  • Sites with Contributor-level or higher user access enabled

Discovery Timeline

  • April 28, 2026 - CVE-2026-4805 published to NVD
  • April 28, 2026 - Last updated in NVD database

Technical Details for CVE-2026-4805

Vulnerability Analysis

This Stored Cross-Site Scripting vulnerability resides in the Lity.js lightbox library bundled with the Woostify WordPress plugin. The root issue stems from improper handling of user-supplied data in the href attribute, which is passed directly into jQuery HTML construction methods without adequate sanitization or encoding. When an authenticated user with at least Contributor-level privileges crafts a malicious link containing JavaScript code in the href attribute, this code gets stored in the WordPress database and subsequently rendered unsanitized on the frontend.

The attack requires authentication with at least Contributor-level access, which limits the immediate threat surface. However, once exploited, the injected scripts persist and execute for all visitors to the affected page, including administrators. This creates opportunities for privilege escalation, session token theft, and further malicious activities.

Root Cause

The vulnerability is caused by insufficient input sanitization and output escaping in the Lity.js lightbox library. Specifically, user-controlled input from the href attribute is concatenated directly into a jQuery HTML string without sanitization at multiple code locations including line 142, line 163, line 611, and line 635 of the vulnerable Lity.js file. This allows attackers to break out of the intended HTML context and inject arbitrary JavaScript code.

Attack Vector

The attack is conducted over the network and requires authenticated access with Contributor-level privileges or higher. An attacker can create or edit content containing a specially crafted link with malicious JavaScript in the href attribute. When the Lity.js lightbox processes this link, the unsanitized input is rendered in the page context, causing the malicious script to execute for any user who views the page. This includes administrators, making session hijacking and privilege escalation viable attack outcomes.

The vulnerability mechanism involves the following flow:

  1. An authenticated attacker with Contributor access creates content with a malicious href attribute
  2. The Lity.js library processes the link without proper sanitization
  3. User-controlled input is directly concatenated into jQuery HTML strings
  4. When any user views the page, the injected JavaScript executes in their browser context

For technical implementation details, see the GitHub Commit Details and the Wordfence Vulnerability Report.

Detection Methods for CVE-2026-4805

Indicators of Compromise

  • Unusual or obfuscated JavaScript code in post content, particularly within href attributes
  • Unexpected network requests to external domains originating from WordPress pages
  • Cookie or session token exfiltration attempts in server logs or browser network activity
  • Modified content in the WordPress database containing script tags or event handlers

Detection Strategies

  • Monitor WordPress content for href attributes containing JavaScript event handlers or script injections
  • Implement Content Security Policy (CSP) headers to detect and block inline script execution
  • Review user activity logs for Contributors and Authors creating suspicious content
  • Use WordPress security plugins to scan for stored XSS patterns in database content

Monitoring Recommendations

  • Enable detailed logging for content creation and modification by users with Contributor-level access
  • Configure web application firewalls (WAF) to alert on potential XSS payload patterns in POST requests
  • Monitor client-side errors and unexpected script executions using browser telemetry
  • Set up alerts for unusual outbound connections from WordPress frontend pages

How to Mitigate CVE-2026-4805

Immediate Actions Required

  • Update the Woostify plugin to version 2.5.1 or later immediately
  • Review and audit all content created by users with Contributor-level access for malicious scripts
  • Consider temporarily restricting Contributor publishing capabilities until the patch is applied
  • Implement Content Security Policy headers to mitigate the impact of any undetected stored XSS

Patch Information

The vulnerability has been addressed in Woostify version 2.5.1. The patch implements proper input sanitization and output escaping for the href attribute in the Lity.js lightbox library. Users should update immediately through the WordPress admin panel or by downloading the latest version from the WordPress theme repository. The specific changes can be reviewed in the WordPress Changeset 2.5.0 to 2.5.1.

Workarounds

  • Restrict user registration and limit Contributor-level access to trusted users only
  • Implement a Web Application Firewall (WAF) rule to filter potential XSS payloads in content submissions
  • Disable the Lity.js lightbox functionality temporarily if not critical to site operation
  • Enable WordPress multisite network restrictions for content containing potentially dangerous HTML
bash
# Add Content Security Policy header in .htaccess as a mitigation measure
<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.04%

  • 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
  • GitHub Commit Details

  • WordPress Theme Lity.js Line 142

  • WordPress Theme Lity.js Line 163

  • WordPress Theme Lity.js Line 611

  • WordPress Theme Lity.js Line 635

  • WordPress Changeset 2.5.0 to 2.5.1

  • 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