CI4MS FULL APP XSS
Full-chain stored DOM XSS -> 50+ injection points -> full application compromise
Full-chain stored DOM XSS -> 50+ injection points -> full application compromise
Authors:
bugmithalchemist
(Bugmith | 0xAlchemist)
•
bugbountyhunter
(p4)
This research presents a full 0day XSS discovery and exploitation walkthrough conducted on the CI4MS application.
The focus of this study is not a single XSS instance, but how a recurring insecure pattern allowed XSS to scale across the entire application.
Focus:
Focus:
Focus:
Focus:
jQuery .html() behaves like innerHTML and parses/executed injected HTML/JS.
No sanitization; stored directly in database.
Outputs raw HTML; no escaping applied.
Server-rendered HTML containing user-controlled data is injected into the DOM using jQuery .html() without any escaping or sanitization, creating persistent stored XSS.
A single insecure pattern replicated across modules led to systemic compromise.
When stored as a menu title, executes for all users, persists across sessions, triggers via AJAX.
Amplifying factors: no output encoding, no CSP, no HttpOnly/Secure cookie, no SameSite restrictions.
This research followed a repeatable pattern:
This approach allows scaling from 1 bug -> dozens of vulnerabilities, identifying systemic flaws, and turning low-level bugs into critical impact.
| Category | Module / Component | CVE ID | GHSA ID | Impact Type | Severity | Status |
|---|---|---|---|---|---|---|
| System Settings | Mail Settings | CVE-2026-27599 | GHSA-66m2-v9v9-95c3 | Stored XSS -> Full Platform Compromise & Full Account Takeover & Privilege-Escalation | Critical | Assigned |
| Core Module | Permissions Management | CVE-2026-34557 | GHSA-rpjr-985c-qhvm | Stored DOM XSS -> Full Account Takeover & Privilege-Escalation | Critical | Assigned |
| Core Module | Methods Management | CVE-2026-34558 | GHSA-v77r-xg3p-75g7 | Stored DOM XSS -> Full Account Takeover & Privilege-Escalation | Critical | Assigned |
| Core Module | Blogs Tags | CVE-2026-34559 | GHSA-4333-387x-w245 | Stored DOM XSS -> Full Account Takeover & Privilege-Escalation | Critical | Assigned |
| Core Module | Logs Module | CVE-2026-34560 | GHSA-r4v5-rwr2-q7r4 | Stored DOM XSS -> Full Account Takeover & Privilege-Escalation | Critical | Assigned |
| System Settings | Social Media Management | CVE-2026-34561 | GHSA-gcfj-cf7j-vwgj | Stored XSS -> Full Platform Compromise & Full Account Takeover & Privilege-Escalation | Critical | Assigned |
| System Settings | Company Information | CVE-2026-34562 | GHSA-v897-c6vq-6cr3 | Stored XSS -> Full Platform Compromise & Full Account Takeover & Privilege-Escalation | Critical | Assigned |
| Core Module | Backup Management | CVE-2026-34563 | GHSA-85m8-g393-jcxf | Blind Stored XSS -> Full Account Takeover & Privilege-Escalation | Critical | Assigned |
| Core Module | Menu Management (Pages) | CVE-2026-34564 | GHSA-g4pp-fhgf-8653 | Stored DOM XSS -> Full Account Takeover & Privilege-Escalation | Critical | Assigned |
| Core Module | Menu Management (Posts) | CVE-2026-34565 | GHSA-xgh5-w62m-8mpr | Stored DOM XSS -> Full Account Takeover & Privilege-Escalation | Critical | Assigned |
| Core Module | Pages Management | CVE-2026-34566 | GHSA-458r-h248-29c5 | Stored DOM XSS -> Full Account Takeover & Privilege-Escalation | Critical | Assigned |
| Core Module | Blogs Posts (Categories) | CVE-2026-34567 | GHSA-r33w-c82v-x5v7 | Stored DOM XSS -> Full Account Takeover & Privilege-Escalation | Critical | Assigned |
| Core Module | Blogs Posts | CVE-2026-34568 | GHSA-x7wh-g25g-53vg | Stored DOM XSS -> Full Account Takeover & Privilege-Escalation | Critical | Assigned |
| Core Module | Blogs Categories | CVE-2026-34569 | GHSA-fhrf-q333-82fm | Stored DOM XSS -> Full Account Takeover & Privilege-Escalation | Critical | Assigned |
| Core Module | Profile Management | CVE-2026-34571 | GHSA-vr2g-rhm5-q4jr | Stored DOM XSS -> Full Account Takeover & Privilege-Escalation | Critical | Assigned |
| Core Module | User Management | CVE-2026-34989 | GHSA-vr2g-rhm5-q4jr | Stored DOM XSS -> Full Account Takeover & Privilege-Escalation | Critical | Assigned |
| System Settings | Public-Facing Company Information | CVE-2026-35035 | GHSA-5ghq-42rg-769x | Stored DOM XSS -> Full Platform Compromise & Full Account Takeover & Privilege-Escalation | Critical | Assigned |
| Core Module | Backup Management v2 (filename field) | CVE-2026-41201 | GHSA-vr2g-rhm5-q4jr | Stored DOM XSS -> Full Account Takeover & Privilege-Escalation | Critical | Assigned |
| Root Cause | CI4MS Architecture (Global Pattern) | None | (None) | Stored Input + Raw Render + .html() -> Systemic XSS | None | None |
There're even much much more. The key finding is that the vulnerability was not limited to a single endpoint. The same unsafe .html() pattern was reused across the application, allowing a single stored XSS to scale into full application compromise.
The vulnerability chain can be summarized as:
The most dangerous bugs are not isolated vulnerabilities — they are insecure patterns embedded into the architecture.