Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as privileged user
-
DeliveryAdd malicious page to navigation menu
-
ExploitStore unencoded XSS payload
-
ExecutionRender in admin interface and public menu
-
ImpactExecute arbitrary JavaScript in victim browsers
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated user with Menu Management privileges in CI4MS versions prior to 0.31.0.0. Attacker must create or edit a Page and inject malicious payload through page-related data fields. Payload executes when administrators or public users view navigation menus containing the compromised page. |
| Impact | This vulnerability presents elevated real-world risk despite absence of confirmed active exploitation. The CVSS 9.1 Critical rating is justified by multiple high-risk factors: network-based attack vector (AV:N) enables remote exploitation, low complexity (AC:L) requires no specialized conditions, and critically, no user interaction (UI:N) means the payload executes automatically when victims view affected menus. The scope change (S:C) elevates risk significantly-attackers can transition from low-privileged CMS editor accounts to executing scripts in administrator or end-user contexts, potentially harvesting session tokens or performing actions with elevated privileges. The attack requires only low privileges (PR:L), meaning any authenticated user with menu management access becomes a threat vector. While EPSS data is unavailable and the vulnerability is not listed in CISA KEV, the technical characteristics indicate high exploitability: stored XSS with automatic execution in multi-user CMS environments creates persistent compromise opportunities. The combination of authentication requirement with scope change suggests this is exploitable in targeted attacks against organizations using CI4MS, particularly where content editors are untrusted or accounts are compromised. SSVC factors favor prioritization: automatable (no user interaction), high technical impact (arbitrary JavaScript execution across contexts), and exploitation status of POC-public based on detailed advisory disclosure. |
| Exploit ScenarioDerived | An attacker with low-level authenticated access to CI4MS (such as a content editor or compromised contributor account) navigates to the Menu Management interface and selects pages for inclusion in a navigation menu. During the page selection process, the attacker injects a malicious JavaScript payload into page metadata fields that lack sanitization-potentially through manipulated page titles, descriptions, or custom attributes. The crafted payload persists in the server-side database and executes automatically when administrators view the menu configuration dashboard or when end users load public pages containing the poisoned navigation menu. Because the vulnerability has scope change impact (S:C), the attacker's script executes in the security context of victims-capturing administrator session cookies, performing actions on behalf of logged-in users, or redirecting visitors to credential-harvesting sites. No user interaction is required for exploitation, making this effective for persistent compromise across multiple user sessions. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 01, 2026
Stored cross-site scripting in CI4MS menu management allows authenticated attackers to inject malicious scripts that execute in administrative and public contexts with changed scope impact. Affecting all CI4MS versions prior to 0.31.0.0, attackers with low-level privileges can exploit inadequate input sanitization in the Pages-to-navigation-menu workflow to persistently embed DOM-based XSS payloads. CVSS 9.1 (Critical) with scope change (S:C) indicates privilege escalation potential across trust boundaries. Vendor-released patch available in version 0.31.0.0. No public exploit identified at time of analysis, though exploitation probability exists given low attack complexity (AC:L) and no user interaction requirement (UI:N).
RemediationAI
Upgrade immediately to CI4MS version 0.31.0.0, which contains vendor-released patches addressing the stored XSS vulnerability in Menu Management functionality. The patched release implements proper input sanitization for page-related data and output encoding for navigation menu rendering contexts. Download the fixed version from the official release page at https://github.com/ci4-cms-erp/ci4ms/releases/tag/0.31.0.0 and follow standard CI4MS upgrade procedures, ensuring database migrations and configuration updates are applied. As an interim risk reduction measure until patching is complete, restrict Menu Management access to only highly trusted administrator accounts and conduct audit reviews of existing navigation menus for suspicious content or embedded script tags. Review application logs for unusual page selection patterns or attempts to inject HTML/JavaScript through menu-related forms. Post-upgrade, reset sessions for all administrative users to invalidate any potentially compromised tokens and verify that previously stored menu data renders safely without script execution. Consult the GitHub security advisory GHSA-g4pp-fhgf-8653 for additional vendor-specific guidance and validation steps.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CI4MS (cpe:2.3:a:ci4-cms-erp:ci4ms) is a content management system skeleton built on the CodeIgniter 4 PHP framework, featuring role-based access control (RBAC) and modular theme architecture. The vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation) in the Menu Management module's page-linking functionality. When administrators select pages for inclusion in navigation menus, the application stores page metadata (likely titles, descriptions, or custom attributes) without proper sanitization. This data persists server-side and is later rendered in both administrative dashboards and public-facing navigation components without output encoding or contextual escaping. The stored nature of the payload creates a persistent XSS condition, while the DOM-based classification indicates the malicious script executes through client-side document manipulation rather than direct HTML injection. The scope change (S:C) in the CVSS vector signifies that successful exploitation can impact resources beyond the vulnerable component's authorization boundary-critical in CMS environments where administrative sessions and public user contexts coexist.
Know when Ci4ms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a production-ready, modular architecture with RBAC authorization and theme support. Prior to version 0.31.0.0, the application fails to properly sanitize user-controlled input when adding Pages to navigation menus through the Menu Management functionality. Page-related data selected via the Pages section is stored server-side and rendered without proper output encoding. This stored payload is later rendered unsafely within administrative interfaces and public-facing navigation menus, leading to stored DOM-based cross-site scripting (XSS). This issue has been patched in version 0.31.0.0.
Executive ViewAI
CI4MS versions prior to 0.31.0.0 contain a critical stored cross-site scripting vulnerability in menu management that allows authenticated low-privilege users to inject persistent malicious scripts executing in administrative contexts. This represents a direct path to administrative account compromise and potential lateral movement across your organization's web applications, requiring immediate patching of all CI4MS deployments.
Vendor-released patch: version 0.31.0.0. Interim mitigations pending patch deployment: (1) restrict menu management access to trusted administrators only; (2) implement web application firewall rules to block script injection patterns in menu-related POST/PUT requests; (3) disable the Pages-to-navigation-menu feature if operationally feasible; (4) monitor administrative account login anomalies and privilege escalation events.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
CI4MS (CodeIgniter 4 CMS skeleton) has a code injection vulnerability (CVSS 9.9) allowing authenticated users to execute
Environment file injection in CI4MS versions prior to 0.31.4.0 allows remote attackers to inject arbitrary configuration
Stored Cross-Site Scripting in CI4MS methods management allows authenticated users to inject malicious JavaScript into a
Stored cross-site scripting in CI4MS role/group management allows authenticated attackers to inject malicious JavaScript
Stored cross-site scripting in CI4MS before 0.31.2.0 allows an authenticated user with System Settings → Company Informa
Stored cross-site scripting in CI4MS backend user management allows authenticated attackers with low-level privileges to
Stored cross-site scripting in CI4MS blog category management allows authenticated users to inject malicious JavaScript
Stored cross-site scripting in CI4MS before 0.31.0.0 lets an authenticated user with blog create/edit rights save JavaSc
Stored cross-site scripting in CI4MS (CodeIgniter 4 CMS) allows authenticated users with blog post management privileges
Stored cross-site scripting (XSS) in CI4MS page management functionality allows authenticated attackers to inject malici
Stored cross-site scripting (XSS) in CI4MS menu management allows authenticated users with low privileges to inject mali
Stored blind cross-site scripting in CI4MS backup management allows authenticated attackers to inject malicious JavaScri
EUVD-2026-18076
GHSA-g4pp-fhgf-8653
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB