CVE-2026-5226
Optimole <= 4.2.3 - Reflected Cross-Site Scripting via Page Profiler URL
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- optimole Optimole – Optimize Images in Real Time
through 4.2.3
References 9
plugins.trac.wordpress.org
- browser/optimole-wp/trunk/inc/manager.php#L459
- browser/optimole-wp/tags/4.2.1/inc/manager.php#L459
- browser/optimole-wp/trunk/inc/manager.php#L542
- browser/optimole-wp/tags/4.2.1/inc/manager.php#L542
- browser/optimole-wp/trunk/inc/admin.php#L1012
- browser/optimole-wp/tags/4.2.1/inc/admin.php#L1012
- changeset/3498040/optimole-wp/trunk/inc/manager.php
- changeset?old_path=%2Foptimole-wp/tags/4.2.3&new_path=%2Foptimole-wp/tags/4.2.4