Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInject XSS payload into loggable input field
-
DeliveryPayload stored in application logs
-
ExploitAdministrator accesses logs interface
-
ExecutionMalicious script executes in admin context
-
ImpactSession hijack or privilege escalation
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 prior to 0.31.0.0. Attacker must have low-privilege authenticated access to inject malicious input into application logs. Admin must view the logs page for payload execution (blind XSS). |
| Impact | Despite the Critical 9.1 CVSS score, real-world exploitability requires specific preconditions. The PR:L vector confirms authentication requirements-attackers need valid low-privilege user accounts, reducing drive-by exploitation risk but enabling insider threats or compromised accounts. The AC:L (low complexity) and UI:N (no user interaction) ratings indicate straightforward exploitation once authenticated. The S:C (scope change) rating elevates severity because successful exploitation allows privilege escalation from standard user to administrator context through session hijacking or credential theft. The blind XSS delivery mechanism creates operational risk since administrators routinely review logs for security monitoring, making payload execution highly probable in production environments. No public exploit identified at time of analysis, reducing immediate weaponization risk. However, XSS in administrative interfaces represents a high-priority remediation target because it undermines the security monitoring infrastructure itself and can facilitate complete application takeover. Organizations using CI4MS should prioritize this patch given the authentication barrier is relatively low and the post-exploitation impact enables full administrative compromise. |
| Exploit ScenarioDerived | An authenticated attacker with low-level user privileges registers an account or submits a form containing malicious JavaScript payload disguised within legitimate input, such as a username field with embedded script tags or event handlers. The application logs this activity without sanitization, storing the payload in the log database. Days or weeks later, a system administrator reviewing routine application logs for security monitoring or troubleshooting navigates to the logs interface. The administrator's browser automatically executes the injected JavaScript, enabling the attacker to steal session cookies, capture CSRF tokens, create backdoor administrator accounts, or exfiltrate sensitive data displayed in the administrative interface-all without the administrator's awareness. Publicly available exploit code exists for similar blind XSS techniques, making this attack pattern reproducible once an attacker identifies the vulnerable log fields. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 01, 2026
Blind stored XSS in CI4MS CMS log viewer allows authenticated attackers to execute JavaScript in administrator sessions when reviewing application logs. Affects CI4MS versions prior to 0.31.0.0. The vulnerability enables low-privilege authenticated users to inject malicious payloads that persist in logs and execute when administrators access the logs interface (CVSS 9.1, Critical). EPSS data not available; no public exploit identified at time of analysis, though the attack technique is well-documented in XSS literature.
RemediationAI
Vendor-released patch: version 0.31.0.0 addresses the vulnerability by implementing proper output encoding in the logs interface rendering logic. Organizations should immediately upgrade to CI4MS 0.31.0.0 or later, available at https://github.com/ci4-cms-erp/ci4ms/releases/tag/0.31.0.0. Review the security advisory at https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-r4v5-rwr2-q7r4 for additional context. Post-upgrade, administrators should audit existing log entries for suspicious JavaScript payloads, particularly examining logs generated by low-privilege user actions. As a temporary mitigation where immediate patching is not feasible, consider restricting log viewer access to only highly trusted administrators, implementing Content Security Policy headers to limit inline script execution, and sanitizing historical log data. However, these workarounds do not eliminate the vulnerability and should not substitute for applying the official patch.
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 CodeIgniter 4 framework with role-based access control. The vulnerability stems from improper output encoding (CWE-79) in the administrative logs viewing interface. When user-controlled input is logged-such as form submissions, error messages, or user activity data-the application fails to sanitize or encode special characters before rendering the log entries in HTML context. This classic stored XSS occurs in a 'blind' variant where the attacker cannot immediately observe execution; the payload remains dormant in the log storage until an administrator with elevated privileges views the logs page. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:C) indicates network-accessible exploitation requiring low privileges with no user interaction needed post-injection, and scope change reflects the attacker escalating from low-privilege user context to administrator session hijacking.
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 renders user-controlled input unsafely within the logs interface. If any stored XSS payload exists within logged data, it is rendered without proper output encoding. This issue becomes a Blind XSS scenario because the attacker does not see immediate execution. Instead, the payload is stored within application logs and only executes later when an administrator views the logs page. This issue has been patched in version 0.31.0.0.
Executive ViewAI
CI4MS CMS versions before 0.31.0.0 contain a stored XSS vulnerability in the log viewer that allows authenticated users to inject persistent malicious scripts executed in administrator sessions, creating a privilege escalation pathway that could compromise administrative access and sensitive system data. Organizations running affected CI4MS instances face critical risk of administrative account compromise and potential lateral movement within dependent systems.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict CI4MS log viewer access to administrator roles only, removing low-privilege user permissions; (2) Implement Web Application Firewall rules to block script tags and event handlers in HTTP requests to log endpoints; (3) Enable comprehensive audit logging of all log viewer access with administrator alerts for anomalous patterns; (4) Disable the log viewer interface entirely if operationally feasible until patch is released.
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-18072
GHSA-r4v5-rwr2-q7r4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB