Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
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, the application fails to properly sanitize user-controlled input within group and role management functionality. Multiple input fields (three distinct group-related fields) can be injected with malicious JavaScript payloads, which are then stored server-side. These stored payloads are later rendered unsafely within privileged administrative views without proper output encoding, leading to stored cross-site scripting (XSS) within the role and permission management context. This issue has been patched in version 0.31.0.0.
AnalysisAI
Stored cross-site scripting in CI4MS role/group management allows authenticated attackers to inject malicious JavaScript into three distinct administrative fields, achieving persistent code execution in privileged admin contexts with scope change impact. The vulnerability affects all versions prior to 0.31.0.0 and requires low-privilege authenticated access with no user interaction (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C). Vendor-released patch version 0.31.0.0 addresses the input sanitization and output encoding failures. No public exploit identified at time of analysis, though EPSS data not available for this recent CVE.
Technical ContextAI
CI4MS is a content management system skeleton built on the CodeIgniter 4 PHP framework, providing role-based access control (RBAC) and modular architecture for enterprise applications. The vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation) affecting the group and role management module. Three distinct input fields within group-related administrative functions lack server-side input validation and sanitization. When administrators or privileged users create or modify groups/roles, malicious JavaScript payloads are accepted and stored in the database without filtering. The application then renders these stored values in administrative views without proper output encoding (missing HTML entity encoding or context-appropriate escaping), causing browsers to execute the attacker-controlled scripts. The CVSS scope change (S:C) indicates the vulnerability can affect resources beyond the vulnerable component's security scope, suggesting potential for privilege escalation or impact on other admin sessions.
RemediationAI
Upgrade immediately to CI4MS version 0.31.0.0 or later, which implements proper input sanitization for group management fields and output encoding for administrative views rendering user-controlled data. The vendor-released patch addresses all three vulnerable input fields identified in the group and role management functionality. Download the patched version from the official CI4MS repository and follow standard CodeIgniter 4 upgrade procedures including database migration scripts if applicable. Review the GitHub security advisory at https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-rpjr-985c-qhvm for specific upgrade instructions and compatibility notes. As interim mitigation for environments unable to patch immediately, restrict group/role management access to only highly trusted administrators, implement web application firewall rules to detect script injection patterns in group-related POST parameters, and audit existing group/role entries for suspicious JavaScript content in name and description fields. Post-upgrade, conduct security review of all existing group and role entries to identify and remove any previously injected payloads that may persist in the database.
CI4MS (CodeIgniter 4 CMS skeleton) has a code injection vulnerability (CVSS 9.9) allowing authenticated users to execute
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
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
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-17213
GHSA-rpjr-985c-qhvm