Skip to main content

Woostify WordPress Plugin CVE-2026-4805

| EUVDEUVD-2026-26005 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-28 Wordfence
6.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain Contributor-level WordPress account
  2. Delivery
    Craft post/page with XSS payload in href attribute
  3. Exploit
    Publish page with malicious lightbox element
  4. Install
    Victim visits compromised page
  5. C2
    Lity.js concatenates unsanitized href into jQuery HTML
  6. Execute
    Injected script executes in victim browser
  7. Impact
    Attacker steals session token or executes malicious action

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

The vulnerability requires the attacker to possess authenticated WordPress Contributor-level access or higher (Author, Editor, or Administrator roles). The Woostify theme must be active on the WordPress installation, and the Lity.js lightbox feature must be enabled (default configuration). The attacker must inject the XSS payload into a page or post element with a href attribute that is processed by the Lity.js lightbox library-typically through image galleries, product lightboxes, or custom href links. No special server-side configuration or non-default settings are required beyond having the vulnerable Woostify plugin installed with default lightbox functionality enabled. User interaction is NOT required for the stored XSS to execute-any user simply visiting the page containing the injected href will trigger the malicious script. Exploitation is limited to accounts with Contributor role and above; unauthenticated attackers cannot inject payloads directly.

Impact

This vulnerability presents a moderate-to-high real-world risk despite a CVSS score of 6.4. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:C) indicates network-accessible exploitation requiring only low-privilege authenticated access (Contributor role) with no user interaction needed, and scope change to other pages increases impact surface. The EPSS score is not provided, limiting exploitation probability assessment; however, the straightforward nature of XSS injection (direct concatenation in JavaScript) and the storage mechanism suggest reasonable exploitability. The vulnerability does NOT appear in CISA KEV and no public proof-of-concept has been identified, indicating limited current weaponization. However, the barrier to exploitation is low: any WordPress site with Woostify installed allows Contributor-level users (common for freelancers, authors) to inject XSS. The impact scope change (S:C) means injected scripts affect not only the plugin context but the broader WordPress site and potentially other users' sessions. Risk is elevated for multi-user WordPress installations where Contributor roles are granted liberally. The primary limiting factor is authentication requirement-unauthenticated attackers cannot exploit this directly, reducing opportunistic attack surface.

Exploit ScenarioDerived

A WordPress site admin grants a freelance author Contributor-level access to write product reviews. The attacker creates a post or page with an image wrapped in a lightbox element, crafting the href attribute as '/image.jpg" onload="fetch('/steal-session?token='+document.cookie)"'. When site visitors view that post, the Lity.js library concatenates this unsanitized href into a jQuery selector, executing the injected JavaScript. The attacker's script steals the visitor's WordPress session token, allowing account compromise of any user (including admins) who views the malicious page.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 28, 2026

Stored cross-site scripting (XSS) in the Woostify WordPress plugin through version 2.5.0 allows authenticated attackers with Contributor-level access and above to inject arbitrary JavaScript into pages via unsanitized href attributes in the bundled Lity.js lightbox library. The injected scripts execute in the browsers of any user visiting the compromised page, enabling account takeover, credential theft, and malware distribution. No public exploit code has been identified at the time of analysis, but the vulnerability requires only low complexity network access with authenticated credentials.

RemediationAI

Update Woostify immediately to version 2.5.1 or later, which includes fixes to the Lity.js library. WordPress administrators can update via the WordPress admin dashboard (Appearance > Themes > Updates) or via the WordPress.org theme directory. The upstream fix has been confirmed via GitHub commit a4669598aa8c5de344dda6c3d42389a3c2e61adc, which implements proper input sanitization and output escaping for href attributes in the Lity.js lightbox library. As a temporary workaround on sites unable to immediately patch, restrict Contributor-level role assignments to trusted users only, or disable the Woostify lightbox feature if not essential by dequeuing the Lity.js script via a custom WordPress filter (e.g., wp_dequeue_script('lity-js')). However, role restriction is preferable as it maintains functionality while reducing attack surface. Sites with user-generated content or guest posting capabilities should prioritize patching, as these deployments increase likelihood of Contributor access being granted to less-trusted accounts.

Affected VersionsENISA

Woostify 0 ≤2.5.0

Affected Packages

euvd woostify no fix

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 exists in the Lity.js lightbox library bundled with Woostify, specifically in how it processes href attributes without proper input sanitization or output escaping before inserting them into jQuery HTML strings. The root cause is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), a classic DOM-based XSS flaw. The Lity.js library constructs dynamic HTML elements by concatenating user-controlled href values directly into jQuery selectors and HTML fragments without sanitizing malicious script tags or event handlers. WordPress sites running Woostify versions up to 2.5.0 (CPE: cpe:2.3:a:duongancol:woostify:*:*:*:*:*:*:*:*) are affected. The vulnerability is triggered when authenticated users with Contributor role or higher craft specially-formatted href attributes (containing script payloads) that are then rendered in lightbox elements, bypassing browser same-origin policies through stored persistence.

Know when Woostify 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

NVD PRIMARY 6.4 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The Woostify plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 2.5.0 This is due to insufficient input sanitization and output escaping in the bundled Lity.js lightbox library, where user-controlled input from the href attribute is concatenated directly into a jQuery HTML string without sanitization. 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

EPSS Score
0.0%
Top 89% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy