Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
Unauthenticated network injection (PR:N/AV:N) requiring victim interaction (UI:R); XSS crosses into the browser context (S:C) with limited session-level C/I/A impact.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
Lifecycle Timeline
1DescriptionCVE.org
Unauthenticated Cross Site Scripting (XSS) in Optimole <= 4.2.7 versions.
AnalysisAI
Stored/reflected Cross-Site Scripting in the Optimole WordPress image-optimization plugin (versions 4.2.7 and earlier) lets remote unauthenticated attackers inject arbitrary JavaScript that executes in the browser of any user who views the affected content. Reported by Patchstack and classified CWE-79 with a CVSS 3.1 score of 7.1, the flaw carries a scope-changing impact (S:C) but requires victim interaction (UI:R). At the time of analysis there is no public exploit identified and the issue is not listed in CISA KEV; no EPSS value was supplied.
Technical ContextAI
Optimole is a widely used WordPress plugin that offloads, optimizes, and lazy-loads images through a cloud CDN. The vulnerability is a CWE-79 Cross-Site Scripting weakness, meaning attacker-controlled input is rendered into an HTML/JavaScript context without adequate output encoding or input sanitization. Because the CVSS vector marks PR:N and UI:R with a scope change (S:C), the injected payload crosses the trust boundary of the vulnerable plugin to execute in the security context of the browsing user's WordPress session. The only CPE provided is cpe:2.3:a:optimole:optimole:*:*:*:*:*:*:*:* with no upper-version boundary encoded, so the affected range is defined by the human-readable description (<= 4.2.7) rather than by the CPE itself.
RemediationAI
Upgrade Optimole to a release newer than 4.2.7; the exact fixed version was not included in the provided data, so treat the patched build as unconfirmed and verify it against the vendor changelog before deploying (No vendor-released patch version identified at time of analysis). Track the Patchstack advisory at https://patchstack.com/database/wordpress/plugin/optimole-wp/vulnerability/wordpress-optimole-plugin-4-2-7-cross-site-scripting-xss-vulnerability?_s_id=cve for the confirmed fixed release. Until you can update, place the affected pages behind a Web Application Firewall with XSS filtering (Patchstack or equivalent virtual patching), which blocks common injection payloads at the cost of possible false positives on legitimate rich content; alternatively, deactivate the Optimole plugin if image optimization can be temporarily suspended, accepting the trade-off of losing CDN offload and lazy-loading and thus slower image delivery.
More in Wordpress Plugin
View allThe 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 Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
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
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41284
GHSA-jv93-qw89-pf3m