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 the Methods Management functionality when creating or managing application methods/pages. Multiple input fields accept attacker-controlled JavaScript payloads that are stored server-side without sanitization or output encoding. These stored values are later rendered directly into administrative interfaces and global navigation components without proper encoding, resulting in Stored DOM-Based Cross-Site Scripting (XSS). This issue has been patched in version 0.31.0.0.
AnalysisAI
Stored Cross-Site Scripting in CI4MS methods management allows authenticated users to inject malicious JavaScript into administrative interfaces and global navigation, affecting all users including administrators. The vulnerability affects CI4MS versions before 0.31.0.0 with a CVSS score of 9.1 due to scope change (C) enabling privilege escalation. Vendor-released patch available in version 0.31.0.0. No public exploit identified at time of analysis, though EPSS data not provided for risk probability assessment.
Technical ContextAI
CI4MS (CI4-CMS-ERP) is a content management system skeleton built on the CodeIgniter 4 PHP framework, providing role-based access control and modular architecture. The vulnerability stems from inadequate input validation and output encoding in the Methods Management module, which allows administrators to create and configure application pages/methods. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a Stored DOM-Based XSS variant. User-supplied data in method/page configuration fields is persisted to the database without sanitization, then retrieved and rendered into the DOM of administrative panels and site-wide navigation components without HTML entity encoding or Content Security Policy protection. This affects the cpe:2.3:a:ci4-cms-erp:ci4ms product line, with the vulnerability residing in server-side rendering logic rather than client-side JavaScript manipulation.
RemediationAI
Upgrade immediately to CI4MS version 0.31.0.0, which includes input sanitization and output encoding fixes for the Methods Management module. The vendor-released patch is available through standard update channels with advisory documentation at https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-v77r-xg3p-75g7. Organizations unable to upgrade immediately should implement compensating controls including restricting Methods Management access to only essential administrators, implementing Content Security Policy headers to mitigate XSS execution, conducting audit reviews of existing method/page configurations for malicious payloads, and monitoring application logs for suspicious JavaScript patterns in method definition fields. All stored method configurations created before patching should be reviewed and sanitized as they may contain persistent XSS payloads.
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 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-17214
GHSA-v77r-xg3p-75g7