📧 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 data_breach Government HIGH 41m Global vulnerability Enterprise Software / ERP Systems CRITICAL 1h Global phishing Cross-sector HIGH 6h Global data_breach Energy CRITICAL 8h Global phishing Government/Multi-sector HIGH 9h Global apt Education CRITICAL 11h Global vulnerability Enterprise Software / ERP Systems CRITICAL 12h Global vulnerability IT Infrastructure CRITICAL 13h Global vulnerability Technology and Software Development HIGH 14h Global vulnerability Enterprise IT and Government CRITICAL 14h Global data_breach Government HIGH 41m Global vulnerability Enterprise Software / ERP Systems CRITICAL 1h Global phishing Cross-sector HIGH 6h Global data_breach Energy CRITICAL 8h Global phishing Government/Multi-sector HIGH 9h Global apt Education CRITICAL 11h Global vulnerability Enterprise Software / ERP Systems CRITICAL 12h Global vulnerability IT Infrastructure CRITICAL 13h Global vulnerability Technology and Software Development HIGH 14h Global vulnerability Enterprise IT and Government CRITICAL 14h Global data_breach Government HIGH 41m Global vulnerability Enterprise Software / ERP Systems CRITICAL 1h Global phishing Cross-sector HIGH 6h Global data_breach Energy CRITICAL 8h Global phishing Government/Multi-sector HIGH 9h Global apt Education CRITICAL 11h Global vulnerability Enterprise Software / ERP Systems CRITICAL 12h Global vulnerability IT Infrastructure CRITICAL 13h Global vulnerability Technology and Software Development HIGH 14h Global vulnerability Enterprise IT and Government CRITICAL 14h
Vulnerabilities

CVE-2026-1886

Medium
The Go Night Pro | WordPress Dark Mode Plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'go-night-pro-shortcode' shortcode in all versions up to, and including, 1.1.0
CWE-79 — Weakness Type
Published: Mar 21, 2026  ·  Modified: Mar 23, 2026  ·  Source: NVD
CVSS v3
6.4
🔗 NVD Official
📄 Description (English)

The Go Night Pro | WordPress Dark Mode Plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'go-night-pro-shortcode' shortcode in all versions up to, and including, 1.1.0 due to insufficient input sanitization and output escaping on the user-supplied 'margin' attribute. 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 Go Night Pro WordPress Dark Mode Plugin contains a Stored Cross-Site Scripting (XSS) vulnerability in versions up to 1.1.0 affecting the 'margin' attribute of the 'go-night-pro-shortcode' shortcode. Authenticated attackers with contributor-level access can inject malicious scripts that execute for all users viewing affected pages. While currently unpatched, the vulnerability requires authenticated access, limiting immediate risk but posing significant threats to WordPress sites with multiple user accounts.

📄 Description (Arabic)

🤖 AI Intelligence Analysis Analyzed: May 15, 2026 17:09
🇸🇦 Saudi Arabia Impact Assessment
Saudi organizations using WordPress for government portals, corporate websites, and e-commerce platforms are at risk. Most vulnerable sectors include: Government agencies (NCA, CITC) using WordPress for public information portals; Banking and financial institutions using WordPress for customer-facing websites; Healthcare providers (MOH) with WordPress-based patient information systems; Telecommunications companies (STC, Mobily) with WordPress marketing sites; and Educational institutions. The vulnerability is particularly concerning for organizations with multiple content contributors, as any contributor-level user could inject malicious scripts affecting all website visitors.
🏢 Affected Saudi Sectors
Government Banking and Financial Services Healthcare Telecommunications Education E-commerce Media and Publishing
⚖️ Saudi Risk Score (AI)
6.2
/ 10.0
🔧 Remediation Steps (English)
Immediate Actions:
1. Audit all WordPress sites using Go Night Pro plugin for any suspicious shortcode usage with 'margin' attributes
2. Review user access logs for contributor-level accounts that may have injected malicious content
3. Disable the Go Night Pro plugin immediately if not actively used
4. If plugin is required, restrict contributor-level access to trusted users only

Patching Guidance:
1. Monitor the plugin's official repository for security updates
2. Contact the plugin developer for patch timeline
3. Consider switching to alternative dark mode plugins with better security records

Compensating Controls:
1. Implement Web Application Firewall (WAF) rules to detect and block XSS payloads in shortcode attributes
2. Enable WordPress security plugins (Wordfence, Sucuri) with XSS detection capabilities
3. Implement Content Security Policy (CSP) headers to restrict script execution
4. Use WordPress user role management to limit contributor access to essential personnel only
5. Enable WordPress audit logging to track all shortcode modifications

Detection Rules:
1. Monitor for shortcode usage: [go-night-pro-shortcode margin="*<*"] patterns
2. Alert on any modifications to pages/posts containing go-night-pro-shortcode by contributor accounts
3. Scan page content for script tags within margin attribute values
4. Monitor for unusual JavaScript execution on pages with this shortcode
🔧 خطوات المعالجة (العربية)
الإجراءات الفورية:
1. تدقيق جميع مواقع WordPress التي تستخدم مكون Go Night Pro للبحث عن أي استخدام مريب للاختصار مع سمات 'margin'
2. مراجعة سجلات وصول المستخدمين لحسابات مستوى المساهم التي قد تكون قد حقنت محتوى ضار
3. تعطيل مكون Go Night Pro فوراً إذا لم يكن قيد الاستخدام النشط
4. إذا كان المكون مطلوباً، قيد وصول مستوى المساهم للمستخدمين الموثوقين فقط

إرشادات التصحيح:
1. راقب مستودع المكون الرسمي للتحديثات الأمنية
2. اتصل بمطور المكون للحصول على جدول زمني للتصحيح
3. فكر في التبديل إلى مكونات الوضع الليلي البديلة ذات السجلات الأمنية الأفضل

الضوابط التعويضية:
1. تنفيذ قواعد جدار حماية تطبيقات الويب (WAF) للكشف عن حمولات XSS وحجبها في سمات الاختصار
2. تفعيل مكونات أمان WordPress (Wordfence, Sucuri) مع قدرات الكشف عن XSS
3. تنفيذ رؤوس Content Security Policy (CSP) لتقييد تنفيذ البرامج النصية
4. استخدام إدارة أدوار مستخدمي WordPress لتحديد وصول المساهم للموظفين الأساسيين فقط
5. تفعيل تسجيل تدقيق WordPress لتتبع جميع تعديلات الاختصار

قواعد الكشف:
1. مراقبة استخدام الاختصار: أنماط [go-night-pro-shortcode margin="*<*"]
2. تنبيه أي تعديلات على الصفحات/المنشورات التي تحتوي على go-night-pro-shortcode بواسطة حسابات المساهم
3. مسح محتوى الصفحة للبحث عن علامات البرامج النصية ضمن قيم سمة الهامش
4. مراقبة تنفيذ JavaScript غير العادي على الصفحات التي تحتوي على هذا الاختصار
📋 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 (vulnerability management) A.12.6.1 - Management of technical vulnerabilities (patch management)
🔵 SAMA CSF
ID.SC-7 - Software, firmware, and information integrity (secure coding practices) PR.DS-6 - Integrity checking mechanisms (input validation) DE.CM-8 - Vulnerability scans (detection of XSS vulnerabilities)
🟡 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
🟣 PCI DSS v4.0.1
6.5.7 - Cross-site scripting (XSS) prevention 6.2 - Security patches and updates
📊 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
Exploit No
Patch ✗ No
Published 2026-03-21
Source Feed nvd
Views 4
🇸🇦 Saudi Risk Score
6.2
/ 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.