6.1

CVE-2026-5226: optimole optimole – optimize images in real time Cross-site Scripting

CVSS: 6.1v3.1MediumDeferred
Published 11-04-2026Last modified 13-04-2026

Vulnerability summary

CVE-2026-5226 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in optimole optimole – optimize images in real time. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 37.6% of scored vulnerabilities. Fixed in 4.2.4.

Overall risk
24/100
0100
Low · default modelHow is this calculated?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.45%
0%100%
Low · -0.05 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 11-04-2026
    PublishedVulnerability first disclosed.
  2. 13-04-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.45%

Chance of exploitation in the next 30 days

Percentile

38%

Versus all other CVEs

30-day change

-0.05 pp

From 0.50% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.45%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Optimole1 product
Wordpress1 product
  • optimole-wp≤ 4.2.3 (fixed in 4.2.4)

2 vendors · 2 products

References

10 links