CVE-2026-135650: Optimole <= 4.2.20 - Unauthenticated Stored Cross-Site Scripting via Comment Author Name

Published Nov 26, 2026
·
Updated

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 buildurl() code path that constructs $lowurl from attacker-controlled input.

Affected Software

1 affected component
Optimole Optimole<=4.2.20

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Enable the “Enable generic placeholder color” option to avoid the vulnerable build_url() code path.

    Optimole WordPress plugin Enable generic placeholder color = enabled

Event History

Nov 26, 2026
CVE Published
via MITRE·03:47 PM
Data Sourced
via MITRE·03:47 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which installations are exposed to this issue?

Optimole versions through 4.2.20 are affected only when the “Enable generic placeholder color” option is disabled. That setting causes the vulnerable build_url() code path to process attacker-controlled comment author input.

2

Does exploitation require an authenticated WordPress account or user interaction?

No attacker authentication is required. An attacker can submit a crafted comment author value, but the injected script executes only when someone accesses the affected page containing that content.

3

What can be done if an update cannot be applied immediately?

Enable the plugin’s “Enable generic placeholder color” option. The issue is described as reachable only when that option is disabled.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203