Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted 'author' parameter unauthenticated
-
DeliveryPayload flows into build_url() and $low_url
-
ExploitMalicious script stored in page output
-
ExecutionVictim loads injected page
-
ImpactArbitrary script executes in victim browser
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 | Exploitation requires the plugin's 'Enable generic placeholder color' option to be DISABLED - per the description, only that configuration invokes the build_url() code path that constructs $low_url from the attacker-controlled 'author' parameter. Given that condition, an unauthenticated remote attacker (PR:N) can inject a stored payload with no authentication. The payload executes when any user subsequently accesses the injected page (stored, not reflected, so no per-attack victim interaction with an attacker-supplied link is required). Limiting factors: the non-default-sensitive configuration dependency (sites with the placeholder-color option enabled are not reachable, reflected in AC:H), impact limited to low confidentiality and integrity in the victim's browser context (C:L/I:L, no availability impact), and affected only up to version 4.2.20. Defenders should check the 'Enable generic placeholder color' setting to determine whether a given site is exposed. |
| Impact | This is a medium-severity stored XSS (CVSS 5.4, CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N) whose real-world urgency is moderate, matching the vuln.today 'this_month' decision label rather than an emergency. Positive signals: the attack vector is network-based and unauthenticated (PR:N), the scope is changed (S:C) because injected script executes in the browsers of other users, and the issue is confirmed and documented by Wordfence with specific source-line references. Mitigating signals: AC:H reflects a genuine precondition - exploitation only works when the 'Enable generic placeholder color' option is disabled, so the vulnerable build_url()/$low_url code path is not reachable in configurations that keep that option enabled. No EPSS score was provided in the input, so exploitation probability cannot be quantified here; the CVE is NOT in CISA KEV and no public exploit or PoC reference is present, so there is no evidence of active exploitation. Net: a legitimate but non-urgent 'patch this month' item - the high install base of the plugin raises aggregate exposure, but the config dependency and limited (C:L/I:L, no availability) impact keep it below critical priority. Whether the limiting option is disabled by default is not stated in the available data and should be verified against the plugin's default settings. |
| Exploit ScenarioDerived | An unauthenticated attacker supplies a malicious script payload through the 'author' parameter, which is incorporated without sufficient sanitization into a URL built by the plugin's build_url() code path and stored in page output. When any user - including an administrator - later views the affected page, the injected script executes in their browser session. No public exploit code was identified in the provided sources, and the attack only works against sites where the 'Enable generic placeholder color' option is disabled. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
Stored cross-site scripting in the Optimole WordPress image optimization plugin affects every release through 4.2.20: the plugin builds a low-quality image URL from the attacker-controlled 'author' parameter without adequate sanitization or output escaping, so unauthenticated remote attackers can plant script that executes in the browser of anyone who later views an injected page. The flaw is only reachable when the plugin's 'Enable generic placeholder color' option is disabled, since that configuration is the one that routes requests through the vulnerable build_url() code path and the attacker-controlled input into $low_url; sites with that option enabled are not exposed. Impact is bounded to low confidentiality and integrity in the victim's browser context (CVSS 5.4, CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N); no public exploit code has been confirmed and the vulnerability is not in CISA KEV, aligning with a 'this_month' priority rather than an emergency.
RemediationAI
Vendor-released patch: update the Optimole plugin to version 4.2.21 or later, which is available in the WordPress.org plugin repository (https://plugins.trac.wordpress.org/browser/optimole-wp/#tags/4.2.21); confirm the installed version under Plugins in wp-admin or via WP-CLI before and after updating. Because exposure depends on configuration, inventory sites still running 4.2.20 or earlier and check whether 'Enable generic placeholder color' is disabled - per the advisory, that is the configuration that makes the vulnerable build_url() code path and the attacker-controlled 'author' parameter reachable, so sites with that option enabled sit outside the described exploitation path; keep in mind that changing settings is a configuration-dependent exposure reduction, not a substitute for installing 4.2.21. Where the update cannot be applied immediately, review the reporter's advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/2b86d380-5726-4b97-8d22-cac909f04986?source=cve for its current guidance and available rule coverage, and audit stored content for injected script that may already have been persisted through the 'author' parameter. There is no confirmed public exploit code, and the flaw is not listed in CISA KEV, so the update can follow a normal monthly patch cycle rather than emergency handling.
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
The issue is a CWE-79 cross-site scripting flaw in the Optimole WordPress plugin's lazy-load and URL replacement layer, which rewrites image markup for CDN delivery, WebP/AVIF conversion and placeholder generation. Per the reporting advisory, the vulnerable path is the build_url() routine in inc/lazyload_replacer.php (with related logic around inc/url_replacer.php and the settings handling in inc/manager.php): when the plugin's 'Enable generic placeholder color' option is turned off, that code path is invoked and constructs the $low_url value from the 'author' parameter without sufficient input sanitization or output escaping, so script injected into that parameter is stored and later emitted into pages. The stored nature means the payload does not require a victim to follow an attacker-supplied link. The 'Enable generic placeholder color' setting is a configuration prerequisite rather than a default state, which is what drives the AC:H component of the assessed vector; the S:C scope change reflects that execution occurs in the victim's browser session rather than within the server-side application. Only releases up to and including 4.2.20 carry the flaw.
Know when Optimole 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:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Unauthenticated remote stored XSS (PR:N, AV:N) gated by a non-default config toggle (AC:H), executing in other users' browsers (S:C) with limited C:L/I:L and no availability impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Optimole - Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'author' parameter in all versions up to, and including, 4.2.20 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This vulnerability is only reachable when the plugin's 'Enable generic placeholder color' option is disabled, as only that configuration invokes the build_url() code path that constructs $low_url from attacker-controlled input.
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.
Stored cross-site scripting in the Optimole WordPress plugin versions 4.2.3 through 4.2.11 allows unauthenticated attack
Stored cross-site scripting in the Optimole WordPress plugin (versions 4.0.0 through 4.2.12) allows an authenticated use
Optimole WordPress plugin versions 4.0.0 through 4.2.15 expose the site's stored third-party image-optimization service
Stored cross-site scripting in the Optimole image-optimization plugin for WordPress (all versions up to and including 4.
Stored Cross-Site Scripting in the Optimole image optimization plugin for WordPress (all versions through 4.2.10) allows
Stored cross-site scripting in the Optimole WordPress plugin through 4.2.18 lets unauthenticated attackers submit a craf
Stored cross-site scripting in the Optimole image optimization plugin for WordPress, affecting all versions up to and in
Unauthenticated stored XSS in Optimole WordPress plugin (≤4.2.2) allows attackers to inject malicious scripts via the sr
Stored cross-site scripting in the Optimole image optimization plugin for WordPress, affecting all versions up to and in
Arbitrary file deletion in the Optimole WordPress plugin (all versions through 4.2.19) lets unauthenticated attackers de
Cross-Site Request Forgery (CSRF) vulnerability in Optimole Super Page Cache for Cloudflare allows Stored XSS.7.5. Rated
Stored/reflected Cross-Site Scripting in the Optimole WordPress image-optimization plugin (versions 4.2.7 and earlier) l
EUVD-2026-136730
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB