CVE-2026-45270CWE-79

CI4MS: Stored XSS in Pages Module Content via Broken html_purify Validation Rule

High · published July 20, 2026

CVSS v3.1
8.7
EPSS
0%
Percentile
29.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00367 · 29.3th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-07-20T14:12Z
EPSS history
Timeline
  • 20 JUL 14:12Z
    CI4MS: Stored XSS in Pages Module Content via Broken html_purify Validation Rule
    cvelistv5