📧 info@ciso.sa | 📱 +966550939344 | Riyadh, Kingdom of Saudi Arabia
🔧 Scheduled Maintenance — Saturday 2:00-4:00 AM AST. Some features may be temporarily unavailable.    ●   
💎
Pro Plan 50% Off Unlock all AI features, unlimited reports, and priority support. Upgrade
Search Center
ESC to close
Global vulnerability Higher Education CRITICAL 2h Global data_breach Government HIGH 3h Global supply_chain Software Development and Open Source Communities CRITICAL 3h Global malware Software Development CRITICAL 3h Global phishing Multiple Sectors HIGH 3h Global vulnerability Web Applications CRITICAL 4h Global apt Critical Infrastructure CRITICAL 4h Global ransomware Multiple sectors CRITICAL 4h Global supply_chain Software Development, IT Infrastructure, Technology CRITICAL 5h Global vulnerability,data_breach,general Technology, Industrial Control Systems, Telecommunications HIGH 6h Global vulnerability Higher Education CRITICAL 2h Global data_breach Government HIGH 3h Global supply_chain Software Development and Open Source Communities CRITICAL 3h Global malware Software Development CRITICAL 3h Global phishing Multiple Sectors HIGH 3h Global vulnerability Web Applications CRITICAL 4h Global apt Critical Infrastructure CRITICAL 4h Global ransomware Multiple sectors CRITICAL 4h Global supply_chain Software Development, IT Infrastructure, Technology CRITICAL 5h Global vulnerability,data_breach,general Technology, Industrial Control Systems, Telecommunications HIGH 6h Global vulnerability Higher Education CRITICAL 2h Global data_breach Government HIGH 3h Global supply_chain Software Development and Open Source Communities CRITICAL 3h Global malware Software Development CRITICAL 3h Global phishing Multiple Sectors HIGH 3h Global vulnerability Web Applications CRITICAL 4h Global apt Critical Infrastructure CRITICAL 4h Global ransomware Multiple sectors CRITICAL 4h Global supply_chain Software Development, IT Infrastructure, Technology CRITICAL 5h Global vulnerability,data_breach,general Technology, Industrial Control Systems, Telecommunications HIGH 6h
Vulnerabilities

CVE-2026-5217

High
CWE-79 — Weakness Type
Published: Apr 11, 2026  ·  Modified: Apr 18, 2026  ·  Source: NVD
CVSS v3
7.2
🔗 NVD Official
📄 Description (English)

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.

🤖 AI Executive Summary

The Optimole WordPress plugin versions up to 4.2.2 contain a Stored Cross-Site Scripting vulnerability in the REST API endpoint due to insufficient input sanitization of the srcset descriptor parameter. Attackers can inject malicious scripts that persist in the database and execute when the cached content is retrieved by other users.

📄 Description (Arabic)

تحتوي إضافة Optimole لتحسين الصور في WordPress على ثغرة Stored XSS في نقطة نهاية REST API غير المصرح بها. يمكن للمهاجمين حقن كود JavaScript ضار من خلال معامل وصف srcset الذي يتم تخزينه في قاعدة البيانات عبر transients. يتم تنفيذ الكود المحقون عند استرجاع المحتوى المخزن مؤقتاً من قبل المستخدمين الآخرين.

🤖 ملخص تنفيذي (AI)

The Optimole WordPress image optimization plugin up to version 4.2.2 has a Stored XSS flaw in its REST API endpoint caused by weak input validation on the srcset descriptor. Malicious code injected through this parameter gets stored and executed when other users view the affected content.

🤖 AI Intelligence Analysis Analyzed: May 8, 2026 14:17
🇸🇦 Saudi Arabia Impact Assessment
Saudi Relevance: high
🏢 Affected Saudi Sectors
banking telecom government healthcare
🎯 MITRE ATT&CK Techniques
⚖️ Saudi Risk Score (AI)
7.0
/ 10.0
🔧 Remediation Steps (English)
Update Optimole plugin to version 4.2.3 or later immediately. Implement Web Application Firewall (WAF) rules to filter malicious srcset parameters. Review WordPress user roles and restrict REST API access to authenticated users only where possible. Monitor WordPress error logs for exploitation attempts.
🔧 خطوات المعالجة (العربية)
قم بتحديث إضافة Optimole إلى الإصدار 4.2.3 أو أحدث فوراً. طبق قواعد جدار حماية تطبيقات الويب لتصفية معاملات srcset الضارة. راجع أدوار مستخدمي WordPress وقيد الوصول إلى REST API للمستخدمين المصرحين فقط. راقب سجلات أخطاء WordPress للكشف عن محاولات الاستغلال.
📋 Regulatory Compliance Mapping
🟢 NCA ECC 2024
A.12.6.1 A.14.2.1 A.14.2.5
🔵 SAMA CSF
ID.RA-1 PR.DS-1 PR.DS-2 DE.CM-1
🟡 ISO 27001:2022
A.12.2.1 A.14.2.1 A.14.2.5
📊 CVSS Score
7.2
/ 10.0 — High
📊 CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Attack VectorN — None / Network
Attack ComplexityL — Low / Local
Privileges RequiredN — None / Network
User InteractionN — None / Network
ScopeC — Changed
ConfidentialityL — Low / Local
IntegrityL — Low / Local
AvailabilityN — None / Network
📋 Quick Facts
Severity High
CVSS Score7.2
CWECWE-79
EPSS0.08%
Exploit No
Patch ✗ No
Published 2026-04-11
Source Feed nvd
Views 4
🇸🇦 Saudi Risk Score
7.0
/ 10.0 — Saudi Risk
Priority: HIGH
🏷️ Tags
CWE-79
Share this CVE

💬 Comments

0
Loading comments
📣 Found this valuable?
Share it with your cybersecurity network
in LinkedIn 𝕏 X / Twitter 💬 WhatsApp ✈ Telegram
🍪 Privacy Preferences
CISO Consulting — Compliant with Saudi Personal Data Protection Law (PDPL)
We use cookies and similar technologies to provide the best experience on our platform. You can choose which types you accept.
🔒
Essential Always On
Required for the website to function properly. Cannot be disabled.
📋 Sessions, CSRF tokens, authentication, language preferences
📊
Analytics
Help us understand how visitors use the site and improve performance.
📋 Page views, session duration, traffic sources, performance metrics
⚙️
Functional
Enable enhanced features like content personalization and preferences.
📋 Dark/light theme, font size, custom dashboards, saved filters
📣
Marketing
Used to deliver content and ads relevant to your interests.
📋 Campaign tracking, retargeting, social media analytics
Privacy Policy →
CISO AI Assistant
Ask anything · Documents · Support
🔐

Introduce Yourself

Enter your details to access the full assistant

Your info is private and never shared
💬
CyberAssist
Online · responds in seconds
5 / 5
🔐 Verify Your Identity

Enter your email to receive a verification code before submitting a support request.

Enter to send · / for commands 0 / 2000
CISO AI · Powered by Anthropic Claude
✦ Quick Survey Help Us Improve CISO Consulting Your feedback shapes the future of our platform — takes less than 2 minutes.
⚠ Please answer this question to continue

How would you rate your overall experience with our platform?

Rate from 1 (poor) to 5 (excellent)

🎉
Thank you!
Your response has been recorded.