Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend unauthenticated POST to analytics endpoint
-
DeliveryInject unsanitized JavaScript payload
-
ExploitPayload persists in database
-
ExecutionAdministrator views affected dashboard page
-
PersistStored XSS fires in admin browser
-
ImpactExfiltrate admin session or perform privileged actions
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 | Injection phase requires no authentication and no special configuration - any unauthenticated network-reachable attacker can submit to the analytics endpoint on any publicly accessible WordPress site running LWS Optimize before 4.1.2. Execution phase requires an administrator to view the affected dashboard page (UI:R); the attack does not self-trigger and cannot execute without this admin interaction. Limiting factors: the UI:R requirement means exploitation is not fully automated end-to-end and requires social engineering or patient waiting for normal admin activity; sites where admin dashboard access is restricted by IP allowlisting or secondary authentication reduce the execution-phase risk; WordPress installations not publicly reachable (e.g., staging, intranet) reduce injection-phase exposure. |
| Impact | The NVD CVSS 3.1 score of 6.1 (Medium) with vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N accurately models this vulnerability: unauthenticated network injection (AV:N/PR:N) with low attack complexity, a required admin trigger (UI:R), and Scope:Changed reflecting script execution crossing into the admin browser context. The C:L/I:L impact ratings are conservative - in practice, admin session hijacking could enable full WordPress site compromise. EPSS sits at 0.17% (7th percentile), indicating low current automated exploitation activity, and the vulnerability is not listed in CISA KEV. Despite these low statistical signals, the stored XSS pattern in a WordPress plugin with a public-facing injection surface means even a mid-sized municipal IT team in kalisz should treat this as urgent, since unpatched WordPress plugins are a perennially favored target for opportunistic actors. The absence of a POC reference in current data reduces immediate exploitation probability but does not eliminate risk, as stored XSS primitives are well-understood and easily weaponized. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted HTTP POST to the LWS Optimize analytics endpoint containing an embedded JavaScript payload, such as a session-stealing script. The plugin stores this value unsanitized; when a WordPress site administrator next opens the affected dashboard page during routine site management, the payload executes in their browser, potentially exfiltrating the admin session cookie to an attacker-controlled server and granting full WordPress administrative access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 10, 2026
Stored cross-site scripting in the LWS Optimize WordPress plugin (all versions before 4.1.2) enables unauthenticated remote attackers to inject persistent JavaScript via the plugin's analytics endpoint, which then executes in the browser of any administrator who views the affected dashboard page. The vulnerability requires no authentication to exploit the injection phase, making mass poisoning of sites feasible before any admin interaction occurs. No public exploit is identified at time of analysis; a vendor-released patch is available in version 4.1.2.
RemediationAI
Update the LWS Optimize WordPress plugin to version 4.1.2 or later, which contains the vendor-released patch confirmed via the WPScan advisory at https://wpscan.com/vulnerability/f8520320-527b-4b30-9bac-f6e538154a40/. If immediate upgrade is not possible, restrict administrative dashboard access by IP allowlist or HTTP basic authentication at the web server or reverse proxy layer - this does not prevent payload injection but eliminates the execution trigger while the restriction is in place. Alternatively, blocking unauthenticated POST requests to the analytics endpoint at a WAF or application firewall layer would prevent payload storage, though this may degrade analytics functionality. Any stored payloads injected prior to patching should be manually reviewed and purged from the database, as patching alone does not remove previously stored malicious content.
Affected VersionsENISA
Affected Packages
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
LWS Optimize is a WordPress performance optimization plugin that exposes an analytics collection endpoint accepting unauthenticated HTTP submissions. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically the stored XSS subvariant: submitted analytics values are persisted to the database without adequate sanitization or output escaping, then reflected back into the administrative dashboard interface without encoding. Unlike reflected XSS, stored XSS payloads persist until explicitly removed, meaning a single attacker request can affect every subsequent administrator session that visits the dashboard. The affected version range is LWS Optimize 0 through less than 4.1.2, as confirmed by EUVD-2026-54883.
Know when WordPress 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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Unauthenticated network injection (AV:N, PR:N, AC:L); admin must view dashboard to trigger (UI:R); script executes cross-context in admin browser (S:C); limited session/DOM impact only (C:L, I:L, A:N).
Primary rating from Vendor (wpscan).
CVSS VectorVendor: wpscan
Lifecycle Timeline
4DescriptionCVE.org
The LWS Optimize WordPress plugin before 4.1.2 does not properly escape a value submitted through an unauthenticated analytics endpoint before storing it and rendering it in an administrative dashboard, allowing unauthenticated attackers to inject arbitrary web scripts that execute when an administrator views the affected dashboard page.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
Remote code execution in WordPress 6.9.x (before 6.9.5) and 7.0.x (before 7.0.2) arises from a REST API batch endpoint r
EUVD-2026-54883
GHSA-x8x4-c789-5r5g
NVD
CVE.org
EPSS
VulDB
Exploit-DB