XSS in Ci4-Cms-Erp Ci4ms
CVE-2026-45270
CI4MS is a CodeIgniter 4-based content management system skeleton. Prior to version 0.31.9.0, the `Pages` backend module registers the `html_purify` validation rule on language-keyed page content but persists the raw, un-purified POST value into the database. The public renderer for pages (`Home::index()` → `app/Views/templates/default/pages.php`) emits `$pageInfo->content` without `esc()`, yielding stored XSS that fires for every public visitor of the affected page — including administrators. Because pages may be promoted to the site home page, the payload can be served at `/` and reach every visitor of the site. Version 0.31.9.0 patches the issue.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.004 (29.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N.
Affected products
- Ci4-cms-erp Ci4ms — versions < 0.31.9.0
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-45270?
- CVE-2026-45270 is a high-severity vulnerability in Ci4-Cms-Erp Ci4ms, classified under Cross-site Scripting. CVSS score: 8.7/10. Published 2026-07-20.
- How severe is CVE-2026-45270?
- High severity. CVSS v3 base score is 8.7 out of 10.