CVE-2026-5226
Last modified
CVE-2026-5226 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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.. EPSS estimates a 0.50% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-5226?
How severe is CVE-2026-5226?
How do I fix CVE-2026-5226?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-5220Improper neutralization of input during web page generation …6.4
- CVE-2026-52200An issue in Generic OEM UZ801_v2.1 4G LTE Router V3.4.3 allo…9.8
- CVE-2026-52203An issue in MCMS v.6.1.1 allows a remote attacker to obtain …7.5
- CVE-2026-5222Cargo between 1.68 and 1.96 incorrectly normalized the URLs …6.5
- CVE-2026-5223Cargo incorrectly handled symlinks inside of crate tarballs …5.3
- CVE-2026-52232A reflected cross-site scripting (XSS) vulnerability in the …6.1
- CVE-2026-5228Improper Access Control, Missing Authorization vulnerability…8.8
- CVE-2026-5229The Form Notify plugin for WordPress is vulnerable to Authen…9.8
- CVE-2026-5230Improper Access Control, Missing Authorization vulnerability…7.1
- CVE-2026-5231The WP Statistics plugin for WordPress is vulnerable to Stor…7.2
- CVE-2026-5233Improper Control of Interaction Frequency vulnerability in M…7.1
- CVE-2026-5234The LatePoint plugin for WordPress is vulnerable to Insecure…5.3
Are you affected by CVE-2026-5226?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
