Loading...
Skip to main content

CVE-2026-34557 — Vulnerability in ci4-cms-erp/ci4ms — CVE Details

CRITICAL

CI4MS: Permissions Management Full Account Takeover for All-Roles & Privilege-Escalation via Stored DOM XSS

Published April 1, 2026Updated April 1, 2026Source: osv

Summary

## 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

Advisory Timeline

  • First published April 1, 2026 (194 days ago).
  • Last revised April 1, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update ci4-cms-erp/ci4ms to 0.31.0.0 or later
composer require "ci4-cms-erp/ci4ms:^0.31.0.0"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
ci4-cms-erp/ci4ms
packagist
0.21.0, 0.21.1, 0.21.2, 0.21.3 (+43 more)0.31.0.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

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

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L

Frequently Asked Questions

What is CVE-2026-34557?
CI4MS: Permissions Management Full Account Takeover for All-Roles & Privilege-Escalation via Stored DOM XSS This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
How do I check if my project is affected by CVE-2026-34557?
CVE-2026-34557 affects ci4-cms-erp/ci4ms. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-34557 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-rpjr-985c-qhvm

Related CVEs

  • CVE-2026-34559
    CRITICAL

    CI4MS: Blogs Tags Full Account Takeover for All-Roles & Privilege-Escalation via Stored DOM XSS

  • CVE-2026-34566
    CRITICAL

    CI4MS: Pages Management Full Account Takeover for All-Roles & Privilege-Escalation via Stored DOM XSS

  • CVE-2026-35035
    CRITICAL

    CI4MS: Company Information Public-Facing Page Full Platform Compromise & Full Account Takeover for All Roles & Privilege-Escalation via System Settings Company Information Stored DOM XSS

  • CVE-2026-27599
    CRITICAL

    ci4-cms-erp/ci4ms: System Settings (Mail Settings) Full Platform Compromise & Full Account Takeover for All-Roles & Privilege-Escalation via Stored DOM XSS

  • CVE-2026-34563
    CRITICAL

    CI4MS: Backup Management Full Account Takeover for All-Roles & Privilege-Escalation via Stored DOM Blind XSS

  • CVE-2026-41202
    CRITICAL

    CI4MS Backup::restore is vulnerable to Zip Slip leading to RCE

  • CVE-2026-41203
    CRITICAL

    CI4MS Theme::upload is vulnerable to Zip Slip leading to RCE

  • CVE-2026-34570
    HIGH

    CI4MS: Account Deletion Module Grants Full Persistent Unauthorized Access for All‑Roles via Improper Session Invalidation (Logic Flaw)

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies