📧 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 apt Financial Services, Banking HIGH 56m Global vulnerability Technology and Software Development HIGH 3h Global vulnerability Government and Federal Agencies CRITICAL 3h Global supply_chain Software Development and Open-Source Ecosystems HIGH 4h Global vulnerability Enterprise Software/SaaS MEDIUM 4h Global supply_chain Software Development HIGH 5h Global general Insurance/Risk Management HIGH 5h Global data_breach Enterprise Software / Information Technology CRITICAL 6h Global vulnerability Technology/Software CRITICAL 8h Global malware Social Media and Consumer Technology HIGH 8h Global apt Financial Services, Banking HIGH 56m Global vulnerability Technology and Software Development HIGH 3h Global vulnerability Government and Federal Agencies CRITICAL 3h Global supply_chain Software Development and Open-Source Ecosystems HIGH 4h Global vulnerability Enterprise Software/SaaS MEDIUM 4h Global supply_chain Software Development HIGH 5h Global general Insurance/Risk Management HIGH 5h Global data_breach Enterprise Software / Information Technology CRITICAL 6h Global vulnerability Technology/Software CRITICAL 8h Global malware Social Media and Consumer Technology HIGH 8h Global apt Financial Services, Banking HIGH 56m Global vulnerability Technology and Software Development HIGH 3h Global vulnerability Government and Federal Agencies CRITICAL 3h Global supply_chain Software Development and Open-Source Ecosystems HIGH 4h Global vulnerability Enterprise Software/SaaS MEDIUM 4h Global supply_chain Software Development HIGH 5h Global general Insurance/Risk Management HIGH 5h Global data_breach Enterprise Software / Information Technology CRITICAL 6h Global vulnerability Technology/Software CRITICAL 8h Global malware Social Media and Consumer Technology HIGH 8h
Vulnerabilities

CVE-2026-8042

Medium
CWE-79 — Weakness Type
Published: May 27, 2026  ·  Modified: May 30, 2026  ·  Source: NVD
CVSS v3
6.4
🔗 NVD Official
📄 Description (English)

The Github Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'repo' shortcode attribute in the 'github' shortcode in all versions up to, and including, 0.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

🤖 AI Executive Summary

The Github Shortcode WordPress plugin contains a Stored Cross-Site Scripting (XSS) vulnerability in the 'repo' shortcode attribute affecting all versions up to 0.1. Authenticated attackers with Contributor-level access can inject malicious scripts that execute for all page visitors. While currently unpatched, the medium CVSS score (6.4) and requirement for authenticated access limit immediate risk, though the stored nature of the vulnerability poses persistent threats to Saudi organizations using WordPress.

📄 Description (Arabic)

🤖 AI Intelligence Analysis Analyzed: May 29, 2026 07:33
🇸🇦 Saudi Arabia Impact Assessment
Saudi organizations most at risk include: Government agencies and ministries using WordPress for public information portals (NCA oversight), Banking sector websites and customer portals (SAMA regulated), Healthcare institutions (MOH) publishing medical information, Educational institutions (universities and schools), and Media/News organizations. The vulnerability allows authenticated insiders or compromised accounts to inject malicious content affecting all website visitors, potentially leading to credential theft, malware distribution, or defacement of critical information systems.
🏢 Affected Saudi Sectors
Government and Public Administration Banking and Financial Services Healthcare Education Media and Publishing Telecommunications Energy and Utilities
⚖️ Saudi Risk Score (AI)
5.8
/ 10.0
🔧 Remediation Steps (English)
Immediate Actions:
1. Audit all WordPress installations using Github Shortcode plugin and identify affected versions (up to 0.1)
2. Review user access logs for Contributor-level and above accounts to detect suspicious activity
3. Scan published pages/posts for suspicious 'repo' shortcode attributes containing script tags or encoded payloads
4. Disable the Github Shortcode plugin immediately if not actively used

Compensating Controls (until patch available):
5. Restrict Contributor-level access to only trusted personnel; audit and remove unnecessary accounts
6. Implement Web Application Firewall (WAF) rules to detect and block XSS patterns in shortcode attributes
7. Enable WordPress security plugins (Wordfence, Sucuri) with XSS detection capabilities
8. Implement Content Security Policy (CSP) headers to restrict inline script execution
9. Use WordPress user role restrictions to limit who can create/edit posts with shortcodes

Detection Rules:
- Monitor for shortcode patterns: [github repo=".*<script.*"|.*javascript:|.*onerror=.*]
- Alert on post/page modifications by Contributor+ accounts
- Log all shortcode attribute values for forensic analysis
- Monitor for unusual external script loading from injected content
🔧 خطوات المعالجة (العربية)
الإجراءات الفورية:
1. تدقيق جميع تثبيتات WordPress التي تستخدم مكون Github Shortcode وتحديد الإصدارات المتأثرة (حتى 0.1)
2. مراجعة سجلات وصول المستخدمين لحسابات مستوى المساهم وما فوقه للكشف عن النشاط المريب
3. فحص الصفحات/المنشورات المنشورة عن خصائص 'repo' shortcode المريبة التي تحتوي على علامات البرامج النصية أو الحمولات المشفرة
4. تعطيل مكون Github Shortcode فوراً إذا لم يكن قيد الاستخدام النشط

الضوابط البديلة (حتى توفر التصحيح):
5. تقييد وصول مستوى المساهم فقط للموظفين الموثوقين؛ تدقيق وإزالة الحسابات غير الضرورية
6. تنفيذ قواعد جدار الحماية (WAF) للكشف عن أنماط XSS وحجبها في خصائص shortcode
7. تفعيل مكونات أمان WordPress (Wordfence, Sucuri) مع قدرات الكشف عن XSS
8. تنفيذ رؤوس Content Security Policy (CSP) لتقييد تنفيذ البرامج النصية المضمنة
9. استخدام قيود دور المستخدم في WordPress لتحديد من يمكنه إنشاء/تحرير المنشورات باستخدام shortcodes

قواعد الكشف:
- مراقبة أنماط shortcode: [github repo=".*<script.*"|.*javascript:|.*onerror=.*]
- تنبيهات على تعديلات المنشورات/الصفحات بواسطة حسابات Contributor+
- تسجيل جميع قيم خصائص shortcode للتحليل الجنائي
- مراقبة تحميل البرامج النصية الخارجية غير العادية من المحتوى المحقون
📋 Regulatory Compliance Mapping
🟢 NCA ECC 2024
A.14.2.1 - Secure development policy (input validation and output encoding requirements) A.14.2.5 - Secure development environment A.12.6.1 - Management of technical vulnerabilities A.12.2.1 - Monitoring of information systems
🔵 SAMA CSF
ID.GV-1 - Organizational processes to manage cybersecurity risk PR.DS-1 - Data security management PR.IP-1 - Security policy and processes DE.CM-1 - Detection and analysis of anomalies
🟡 ISO 27001:2022
A.14.2.1 - Secure development policy A.14.2.5 - Secure development environment A.12.6.1 - Management of technical vulnerabilities A.5.1.1 - Information security policies
🟣 PCI DSS v4.0.1
6.5.7 - Cross-site scripting (XSS) 6.2 - Ensure security patches are installed 2.2.4 - Configure system security parameters
📊 CVSS Score
6.4
/ 10.0 — Medium
📊 CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Attack VectorN — None / Network
Attack ComplexityL — Low / Local
Privileges RequiredL — Low / Local
User InteractionN — None / Network
ScopeC — Changed
ConfidentialityL — Low / Local
IntegrityL — Low / Local
AvailabilityN — None / Network
📋 Quick Facts
Severity Medium
CVSS Score6.4
CWECWE-79
EPSS0.03%
Exploit No
Patch ✗ No
Published 2026-05-27
Source Feed nvd
🇸🇦 Saudi Risk Score
5.8
/ 10.0 — Saudi Risk
Priority: HIGH
🏷️ Tags
CWE-79
Share this CVE
📣 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.