CVE-2026-5226 json
Optimole <= 4.2.3 - Reflected Cross-Site Scripting via Page Profiler URL
published 2026-04-11 6 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-21664
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
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.
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected products
- optimole Optimole – Optimize Images in Real Time
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
- wordfence.com /threat-intel/vulnerabilities/id/112cea93-fa4b-4692-8c8b-e74255f61939?source=cve
- plugins.trac.wordpress.org /browser/optimole-wp/trunk/inc/manager.php#L459
- plugins.trac.wordpress.org /browser/optimole-wp/tags/4.2.1/inc/manager.php#L459
- plugins.trac.wordpress.org /browser/optimole-wp/trunk/inc/manager.php#L542
- plugins.trac.wordpress.org /browser/optimole-wp/tags/4.2.1/inc/manager.php#L542
- plugins.trac.wordpress.org /browser/optimole-wp/trunk/inc/admin.php#L1012
- plugins.trac.wordpress.org /browser/optimole-wp/tags/4.2.1/inc/admin.php#L1012
- plugins.trac.wordpress.org /changeset/3498040/optimole-wp/trunk/inc/manager.php
- plugins.trac.wordpress.org /changeset?old_path=%2Foptimole-wp/tags/4.2.3&new_path=%2Foptimole-wp/tags/4.2.4
Sources
- CVE List CVE-2026-5226
- NVD CVE-2026-5226
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.