Optimole <= 4.2.3 - Reflected Cross-Site Scripting via Page Profiler URL
Summary
| CVE | CVE-2026-5226 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-11 02:16:03 UTC |
| Updated | 2026-04-11 02:16:03 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 6.1 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Optimole | Optimole Optimize Images In Real Time | affected 4.2.3 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.1/inc/manager.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.1/inc/manager.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/optimole-wp/trunk/inc/admin.php | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/112cea93-fa4b-4692-8c8b-e7425... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/changeset/3498040/optimole-wp/trunk/inc/manager.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/optimole-wp/trunk/inc/manager.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/changeset | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.1/inc/admin.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/optimole-wp/trunk/inc/manager.php | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-03-31T13:30:49.000Z | Vendor Notified |
| CNA | 2026-04-10T11:39:59.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.