Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
4DescriptionGitHub Advisory
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, a Stored Cross-Site Scripting (Stored XSS) vulnerability exists in the backend user management functionality. The application fails to properly sanitize user-controlled input before rendering it in the administrative interface, allowing attackers to inject persistent JavaScript code. This results in automatic execution whenever backend users access the affected page, enabling session hijacking, privilege escalation, and full administrative account compromise. This issue has been patched in version 0.31.0.0.
AnalysisAI
Stored cross-site scripting in CI4MS backend user management allows authenticated attackers with low-level privileges to inject malicious JavaScript that executes automatically when administrators access affected pages, enabling session hijacking and full administrative account takeover. The vulnerability affects all versions prior to 0.31.0.0 with a critical CVSS score of 9.9 due to scope change and high impact across confidentiality, integrity, and availability. EPSS data not available; no public exploit code or active exploitation confirmed at time of analysis, though the technical barrier is low (AC:L, PR:L).
Technical ContextAI
CI4MS (CodeIgniter 4-based CMS skeleton) is a modular content management framework built on the CodeIgniter 4 PHP framework, featuring role-based access control and themeable architecture for rapid application development. This vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation), where user-supplied data in the backend user management module lacks proper output encoding or sanitization before being rendered in HTML contexts. The affected component (cpe:2.3:a:ci4-cms-erp:ci4ms) fails to implement context-appropriate escaping mechanisms-likely missing htmlspecialchars() or equivalent encoding functions in CodeIgniter's view layer-allowing JavaScript payloads to persist in database records and execute in administrators' browsers. The CVSS scope change (S:C) indicates the vulnerability enables attackers to impact resources beyond the vulnerable component's security scope, characteristic of XSS attacks that can compromise administrative sessions and pivot to broader system access.
RemediationAI
Upgrade immediately to CI4MS version 0.31.0.0, which contains patches addressing the stored XSS vulnerability in backend user management functionality. The patched release is available at https://github.com/ci4-cms-erp/ci4ms/releases/tag/0.31.0.0 with corresponding security advisory documentation at https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-fc4p-p49v-r948. Organizations unable to upgrade immediately should implement defense-in-depth measures including restricting backend user creation privileges to trusted administrators only, implementing Content Security Policy headers to mitigate XSS execution, and conducting audits of existing user records for suspicious JavaScript patterns in fields rendered in administrative interfaces. Review application logs for unusual user account modifications or session anomalies that may indicate exploitation attempts prior to patching.
CI4MS (CodeIgniter 4 CMS skeleton) has a code injection vulnerability (CVSS 9.9) allowing authenticated users to execute
Stored cross-site scripting in CI4MS blog category management allows authenticated users to inject malicious JavaScript
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 blog module allows authenticated attackers to inject malicious JavaScript that exec
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 cross-site scripting in CI4MS menu management allows authenticated attackers to inject malicious scripts that exe
Stored blind cross-site scripting in CI4MS backup management allows authenticated attackers to inject malicious JavaScri
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
Blind stored XSS in CI4MS CMS log viewer allows authenticated attackers to execute JavaScript in administrator sessions
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-18088
GHSA-fc4p-p49v-r948