CVE-2026-5226
The Optimole – Optimize Images in Real Time plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via URL paths in versions up to, and including, 4.2.3 This is due to insufficient output escaping on user-supplied URL paths in the get_current_url() function, which are inserted into JavaScript code via str_replace() without proper JavaScript context escaping in the replace_content() function. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
Published:Apr 11, 2026
Last Modified:Apr 24, 2026
EPS:Apr 11, 2026
EPSS Score:0.00107
CVSS Score:6.1
Affected Products
Vendor
Product
Action
Vendor
Optimole
Product
Optimole – Optimize Images In Real Time
Optimole
Optimole – Optimize Images In Real Time
Vendor
Wordpress
Product
Wordpress
Wordpress
Wordpress
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
