CVE-2026-34557
criticalpriority · track · 36EPSS 0.003 · 25 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.2–9.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-rpjr-985c-qhvmCI4MS: Permissions Management Full Account Takeover for All-Roles & Privilege-Escalation via Stored DOM XSS2026-04-01ghsa · osvUS
## Summary ### **Vulnerability: Stored DOM XSS via Group / Role Management Fields (Administrative Context Execution)** - Stored Cross-Site Scripting via Unsanitized Group / Role Management Inputs ### Description 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. ### Affected Functionality - Group creation and editing functionality - Role and permission assignment interfaces - Storage and retrieval of group-related data ### Attack Scenario - An attacker injects a malicious XSS payload into one or more group-related input fields. - The application stores these values without sanitization or encoding. - An administrator views the group or role management interface. - The payload executes automatically in the administrator’s browser. ### Impact - Persistent Stored XSS - Execution of arbitrary JavaScript in victims’ browsers - Privilege escalation when viewed by administrators - Full administrator account takeover - Full compromise of the entire application Endpoints: - `/backend/users/groupList/` ## Steps To Reproduce (POC) 1. Navigate to the Group / Role Management page 2. Insert an XSS payload into any of the three group-related input fields such as: `<img src=x onerror=alert(document.domain)>` 3. Save the group or role changes 4. View the group/role management page as an administrator 5. Observe the XSS payload executing automatically ## Remediation - Never use .html() again or any innerHTML-style like JS in your PHP, or any other sink, even if user inputs that flow into them are not clear, they still represent real world danger as an attacker can make use of this to exploit the application via XSS. And do HTML Encoding as much as possible and always do Sanitization, theres no sanitization there unfortunately. Also apply CSP, HttpOnly, SameSite, and Secure upon all application, they reduce severity of XSS & escalated-CSRF via XSS and do great jobs # Ready Video POC: https://mega.nz/file/6QUEXDbR#JXzYXg9bef_NeSUVFB4R03UeXLtAVtYwTRsdrHLlokU
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2026-34557cnnvd
- https://github.com/ci4-cms-erp/ci4ms/releasesPatchcnnvd
- https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-rpjr-985c-qhvmcnnvd
- https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-rpjr-985c-qhvmenisa_euvd
- https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-rpjr-985c-qhvmExploitMitigationVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan