CVE Explorer
CVE-2026-5217
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 di
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"Optimole – Optimize Images in Real Time","vendor":"optimole","versions":[{"lessThanOrEqual":"4.2.2","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:139b45c14377dc6a1390b71d2bb3aa9530577fdf50051c84c276bb4dbac2f40b · sha256:cffd9b480710d410… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":7.2,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:139b45c14377dc6a1390b71d2bb3aa9530577fdf50051c84c276bb4dbac2f40b · sha256:cffd9b480710d410… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:139b45c14377dc6a1390b71d2bb3aa9530577fdf50051c84c276bb4dbac2f40b · sha256:cffd9b480710d410… · /containers/cna/problemTypes/0/descriptions/0
Source references
7 source assertions{"url":"https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.1/inc/rest.php#L1008"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:139b45c14377dc6a1390b71d2bb3aa9530577fdf50051c84c276bb4dbac2f40b · sha256:cffd9b480710d410… · /containers/cna/references/5
{"url":"https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.1/inc/rest.php#L159"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:139b45c14377dc6a1390b71d2bb3aa9530577fdf50051c84c276bb4dbac2f40b · sha256:cffd9b480710d410… · /containers/cna/references/6
{"url":"https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.1/inc/tag_replacer.php#L526"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:139b45c14377dc6a1390b71d2bb3aa9530577fdf50051c84c276bb4dbac2f40b · sha256:cffd9b480710d410… · /containers/cna/references/4
{"url":"https://plugins.trac.wordpress.org/browser/optimole-wp/trunk/inc/rest.php#L1008"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:139b45c14377dc6a1390b71d2bb3aa9530577fdf50051c84c276bb4dbac2f40b · sha256:cffd9b480710d410… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/browser/optimole-wp/trunk/inc/rest.php#L159"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:139b45c14377dc6a1390b71d2bb3aa9530577fdf50051c84c276bb4dbac2f40b · sha256:cffd9b480710d410… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/browser/optimole-wp/trunk/inc/tag_replacer.php#L526"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:139b45c14377dc6a1390b71d2bb3aa9530577fdf50051c84c276bb4dbac2f40b · sha256:cffd9b480710d410… · /containers/cna/references/3
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/50417068-339a-4ae5-9c90-8f08f54ce0af?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:139b45c14377dc6a1390b71d2bb3aa9530577fdf50051c84c276bb4dbac2f40b · sha256:cffd9b480710d410… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.