Skip to main content

Ci4ms CVE-2026-34557

| EUVDEUVD-2026-17213 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-03-30 GitHub_M GHSA-rpjr-985c-qhvm
9.1
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as authorized user
  2. Delivery
    Inject JavaScript into group management fields
  3. Exploit
    Store malicious payload in database
  4. Execution
    Administrator views group settings
  5. Impact
    Execute 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

ci4ms < 0.31.0.0

Affected Packages

composer ci4-cms-erp/ci4ms fix: 0.31.0.0
euvd ci4ms fix: 0.31.0.0

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

GitHub Advisory PRIMARY 9.1 CRITICAL
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
Low

Lifecycle Timeline

2
Patch released
Apr 01, 2026 - 02:30 nvd
Patch available
CVE Published
Mar 30, 2026 - 20:24 nvd
CRITICAL 9.1

DescriptionGitHub 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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.0%
Top 86% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Ci4ms

View all
CVE-2026-25510 CRITICAL POC
9.9 Feb 03

CI4MS (CodeIgniter 4 CMS skeleton) has a code injection vulnerability (CVSS 9.9) allowing authenticated users to execute

CVE-2026-39394 CRITICAL
9.8 Apr 08

Environment file injection in CI4MS versions prior to 0.31.4.0 allows remote attackers to inject arbitrary configuration

CVE-2026-34558 CRITICAL
9.1 Mar 30

Stored Cross-Site Scripting in CI4MS methods management allows authenticated users to inject malicious JavaScript into a

CVE-2026-35035 CRITICAL
9.0 Apr 06

Stored cross-site scripting in CI4MS before 0.31.2.0 allows an authenticated user with System Settings → Company Informa

CVE-2026-34571 CRITICAL
9.0 Apr 01

Stored cross-site scripting in CI4MS backend user management allows authenticated attackers with low-level privileges to

CVE-2026-34569 CRITICAL
9.0 Apr 01

Stored cross-site scripting in CI4MS blog category management allows authenticated users to inject malicious JavaScript

CVE-2026-34568 CRITICAL
9.0 Apr 01

Stored cross-site scripting in CI4MS before 0.31.0.0 lets an authenticated user with blog create/edit rights save JavaSc

CVE-2026-34567 CRITICAL
9.0 Apr 01

Stored cross-site scripting in CI4MS (CodeIgniter 4 CMS) allows authenticated users with blog post management privileges

CVE-2026-34566 CRITICAL
9.0 Apr 01

Stored cross-site scripting (XSS) in CI4MS page management functionality allows authenticated attackers to inject malici

CVE-2026-34565 CRITICAL
9.0 Apr 01

Stored cross-site scripting (XSS) in CI4MS menu management allows authenticated users with low privileges to inject mali

CVE-2026-34564 CRITICAL
9.0 Apr 01

Stored cross-site scripting in CI4MS menu management allows authenticated attackers to inject malicious scripts that exe

CVE-2026-34563 CRITICAL
9.0 Apr 01

Stored blind cross-site scripting in CI4MS backup management allows authenticated attackers to inject malicious JavaScri

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy