HIGHVulnerability
Verified
Global

NVD HIGH: CVE-2026-5217 — The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image O...

·Source: NIST NVD

Updated:

Executive Summary

The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 4.2.2. This is due to insufficient input sanitization and output escaping on the user-supplied 's' parameter (srcset descriptor) in the unauthenticated /wp-json/optimole/v1/optimizations REST endpoint. Th

Analysis

The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 4.2.2. This is due to insufficient input sanitization and output escaping on the user-supplied 's' parameter (srcset descriptor) in the unauthenticated /wp-json/optimole/v1/optimizations REST endpoint. The endpoint validates requests using an HMAC signature and timestamp, but these values are exposed directly in the frontend HTML making them accessible to any visitor. The plugin uses sanitize_text_field() on the descriptor value of rest.php, which strips HTML tags but does not escape double quotes. The poisoned descriptor is then stored via transients (backed by the WordPress options table) and later retrieved and injected verbatim into the srcset attribute of tag_replacer.php without proper escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts into pages that will execute whenever a user accesses the injected page. CVSS Score: 7.2. Published: 2026-04-11T02:16:02.953.

Indicators of Compromise (1)

CVE (1)
CVE-2026-5217
Source Attribution

Originally published by NIST NVD on Apr 11, 2026. Verified by: NIST.

Related Threats

LOWVulnerability

Weekly Metasploit Update: New Kerberos/Certificate tracing options, and multiple new modules

New Tracing Options As hard as we try to ensure that Metasploit is bug free, issues inevitably come up. Whether you’re running a module on an op or writing a new one, what we can do is make the debugging experience easier. To that end one of our two Google Summer of Code (GSoC) projects is here to deliver. Building on the previous pattern of HttpTrace comes two new options KerberosTicketTrace and

Rapid7
MEDIUMVulnerability

Ozempic Drug Maker Loses Clinical Trial Data in Hack

<img src="https://ismg-cdn.nyc3.cdn.digitaloceanspaces.com/articles/ozempic-drug-maker-loses-clinical-trial-data-in-hack-image_small-6-a-31962.jpg" align=right hspace=4><b>Novo Nordisk Breach Involved 'Copying' of Patient, Healthcare Provider Info</b><br>A hack on Danish pharmaceutical manufacturer Novo Nordisk has compromised some patients' clinical trial information, the maker of popular weight

Bank Info Security
MEDIUMVulnerability

ISACA Survey: AI Adoption Is Rising, Visibility Is Not

<img src="https://ismg-cdn.nyc3.cdn.digitaloceanspaces.com/articles/isaca-survey-ai-adoption-rising-visibility-not-image_small-7-a-31960.jpg" align=right hspace=4><b>Governance Professionals Struggle to Measure ROI and Control AI Systems</b><br>AI is becoming embedded across the enterprise, yet many organizations still can't quantify its value or answer key questions about oversight and control. I

Bank Info Security