Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as authorized user
-
DeliveryInject JavaScript into group management fields
-
ExploitStore malicious payload in database
-
ExecutionAdministrator views group settings
-
ImpactExecute stored XSS in admin context
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 | CI4MS versions before 0.31.0.0. Attacker requires authenticated administrative access to inject malicious JavaScript in group/role management fields. Stored XSS payload executes when administrators view affected administrative pages without victim interaction. |
| Impact | The 9.1 CVSS score reflects critical severity due to the scope change and high confidentiality impact, but real-world risk requires contextual analysis. The CVSS vector shows network-based attack requiring low privileges (PR:L) with no user interaction (UI:N), making exploitation straightforward once an attacker gains any authenticated access. The scope change (S:C) elevates risk significantly as stored XSS in administrative contexts enables session hijacking, privilege escalation, or persistent compromise of admin accounts. However, exploitation requires the attacker to first obtain legitimate low-privilege credentials, limiting exposure compared to unauthenticated vulnerabilities. No CISA KEV listing and no public exploit code exists at time of analysis, suggesting this has not been observed in active campaigns. EPSS probability unavailable for this recently-assigned CVE. From SSVC perspective: exploitation status is POC-ready (simple stored XSS), automatable once credentials obtained, technical impact aligns with total control of admin sessions. Priority depends on deployment context-critical for internet-facing CI4MS instances with untrusted authenticated users, moderate for internal-only deployments with vetted user base. The stored nature and admin context make this substantially more dangerous than reflected XSS despite requiring authentication. |
| Exploit ScenarioDerived | An attacker with low-privilege authenticated access (such as a content contributor account) navigates to the group or role management interface and creates a new user group. In one of the three vulnerable fields (likely group name, description, or metadata fields), the attacker injects a malicious JavaScript payload such as a session-stealing script or keylogger. The application stores this payload without sanitization. When a system administrator later accesses the group management dashboard to review or modify permissions, the stored script executes in their browser context with their elevated privileges and session tokens, potentially allowing the attacker to harvest admin credentials, create backdoor accounts with full privileges, or modify critical system configurations through the compromised admin session. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 30, 2026
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.
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.
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 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.
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:N/S:C/C:H/I:L/A:L
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub 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.
Executive ViewAI
CI4MS versions before 0.31.0.0 contain a stored cross-site scripting vulnerability in role and group management that allows authenticated administrators to inject persistent malicious code affecting other privileged users across the application. This represents a critical risk to administrative account security and organizational data integrity, as attackers with any authenticated access can compromise the entire administrative tier without requiring additional user interaction.
Vendor-released patch: version 0.31.0.0. If immediate patching is not feasible, restrict CI4MS administrative console access to a limited whitelist of trusted IP addresses and implement application-level Web Application Firewall (WAF) rules to detect and block JavaScript injection patterns in role/group management API parameters pending patch deployment.
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 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 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
EUVD-2026-17213
GHSA-rpjr-985c-qhvm
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB