📧 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 43m 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 43m 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 43m 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-2305

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

The AddFunc Head & Footer Code plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `aFhfc_head_code`, `aFhfc_body_code`, and `aFhfc_footer_code` post meta values in all versions up to, and including, 2.3. This is due to the plugin outputting these meta values without any sanitization or escaping. While the plugin restricts its own metabox and save handler to administrators via `current_user_can('manage_options')`, it does not use `register_meta()` with an `auth_callback` to protect these meta keys. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts via the WordPress Custom Fields interface that execute when an administrator previews or views the post.

🤖 AI Executive Summary

The AddFunc Head & Footer Code WordPress plugin (versions ≤2.3) contains a Stored XSS vulnerability in head, body, and footer code meta fields. Authenticated users with Contributor-level access can inject malicious scripts through WordPress Custom Fields that execute when administrators view posts, potentially leading to admin account compromise and site-wide malware injection. No patch is currently available, requiring immediate mitigation strategies.

📄 Description (Arabic)

🤖 AI Intelligence Analysis Analyzed: May 15, 2026 21:46
🇸🇦 Saudi Arabia Impact Assessment
Saudi organizations using WordPress for government portals, banking websites, healthcare information systems, and e-commerce platforms are at significant risk. Government agencies (under NCA oversight), ARAMCO subsidiaries, STC digital services, and financial institutions relying on WordPress plugins face potential compromise of administrative accounts, data exfiltration, and malware distribution. The vulnerability is particularly critical for organizations with multiple contributor-level users managing content, as any such user can compromise the entire WordPress installation when administrators interact with malicious posts.
🏢 Affected Saudi Sectors
Government & Public Administration Banking & Financial Services Healthcare & Medical Services Energy & Utilities Telecommunications E-commerce & Retail Education & Universities Media & Publishing
⚖️ Saudi Risk Score (AI)
7.2
/ 10.0
🔧 Remediation Steps (English)
IMMEDIATE ACTIONS:
1. Audit all posts and pages for suspicious meta values in aFhfc_head_code, aFhfc_body_code, and aFhfc_footer_code fields using WordPress database queries
2. Disable the AddFunc Head & Footer Code plugin immediately via wp-admin or by renaming the plugin directory
3. Review WordPress user roles and remove unnecessary Contributor-level access; restrict to Editor and Administrator only
4. Audit WordPress user accounts and access logs for unauthorized activity

COMPENSATING CONTROLS:
5. Implement Web Application Firewall (WAF) rules to detect and block script injection patterns in POST requests to wp-admin/post.php
6. Enable WordPress security plugins (Wordfence, Sucuri) with real-time malware scanning
7. Restrict wp-admin access by IP whitelist to known office locations
8. Implement Content Security Policy (CSP) headers to prevent inline script execution
9. Use WordPress security hardening: disable file editing, restrict plugin uploads, enforce strong passwords

DETECTION:
10. Monitor database for suspicious meta key modifications: SELECT * FROM wp_postmeta WHERE meta_key IN ('aFhfc_head_code', 'aFhfc_body_code', 'aFhfc_footer_code') AND meta_value LIKE '%<script%'
11. Log and alert on any post preview/view actions by administrators following contributor edits
12. Monitor wp-admin access logs for Contributor-level users accessing post edit screens
🔧 خطوات المعالجة (العربية)
الإجراءات الفورية:
1. تدقيق جميع المنشورات والصفحات للقيم الوصفية المريبة في حقول aFhfc_head_code و aFhfc_body_code و aFhfc_footer_code باستخدام استعلامات قاعدة بيانات WordPress
2. تعطيل مكون إضافة AddFunc Head & Footer Code فوراً عبر wp-admin أو بإعادة تسمية دليل المكون الإضافي
3. مراجعة أدوار مستخدمي WordPress وإزالة وصول المساهم غير الضروري؛ تقييد الوصول للمحررين والمسؤولين فقط
4. تدقيق حسابات مستخدمي WordPress وسجلات الوصول للنشاط غير المصرح به

الضوابط التعويضية:
5. تنفيذ قواعد جدار حماية تطبيقات الويب (WAF) للكشف عن أنماط حقن النصوص البرمجية وحجبها في طلبات POST إلى wp-admin/post.php
6. تفعيل مكونات إضافة أمان WordPress (Wordfence, Sucuri) مع المسح الضار في الوقت الفعلي
7. تقييد وصول wp-admin حسب IP للمواقع المعروفة
8. تنفيذ رؤوس سياسة أمان المحتوى (CSP) لمنع تنفيذ النصوص البرمجية المضمنة
9. تعزيز أمان WordPress: تعطيل تحرير الملفات، تقييد تحميل المكونات الإضافية، فرض كلمات مرور قوية

الكشف:
10. مراقبة قاعدة البيانات للتعديلات المريبة على المفاتيح الوصفية: SELECT * FROM wp_postmeta WHERE meta_key IN ('aFhfc_head_code', 'aFhfc_body_code', 'aFhfc_footer_code') AND meta_value LIKE '%<script%'
11. تسجيل والتنبيه على أي إجراءات معاينة/عرض منشورات من قبل المسؤولين بعد تعديلات المساهم
12. مراقبة سجلات وصول wp-admin لمستخدمي المساهم الذين يصلون إلى شاشات تحرير المنشورات
📋 Regulatory Compliance Mapping
🟢 NCA ECC 2024
A.5.1.1 - Information security policies and procedures A.6.1.1 - User access management and authentication A.6.2.1 - User access rights review A.7.1.1 - Physical and environmental security A.12.2.1 - Change management procedures A.12.4.1 - Event logging and monitoring A.14.2.1 - Secure development and change management
🔵 SAMA CSF
Governance & Risk Management - Security Policy & Standards Information & Cyber Security - Access Control & Authentication Information & Cyber Security - Data Protection & Privacy Operational Resilience - Incident Management & Response Technology & Infrastructure - Application Security
🟡 ISO 27001:2022
5.1 - Policies for information security 5.15 - Access control 6.1.1 - Information security roles and responsibilities 8.1 - Operational planning and control 8.2.1 - User endpoint devices 8.3.1 - Information and data security 8.3.2 - Information handling 8.3.4 - Removal of access rights 8.4.1 - Event logging 8.4.2 - Protection of log information
🟣 PCI DSS v4.0.1
Requirement 1.1 - Firewall configuration standards Requirement 2.1 - Default security parameters Requirement 6.2 - Security patches and updates Requirement 6.5.1 - Injection flaws Requirement 7.1 - Limit access to system components Requirement 8.1 - User identification and authentication Requirement 10.2 - Automated audit trails
📊 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.05%
Exploit No
Patch ✗ No
Published 2026-04-10
Source Feed nvd
Views 4
🇸🇦 Saudi Risk Score
7.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.