{"id":"CVE-2026-45270","published":"2026-07-20T14:12:13Z","modified":"2026-07-20T15:11:27Z","title":"CI4MS: Stored XSS in Pages Module Content via Broken html_purify Validation Rule","vendor":"ci4-cms-erp","product":"ci4ms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00262,"percentile":0.18326,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-gqr2-7hcg-rchf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ci4-cms-erp/ci4ms/releases/tag/0.31.9.0","tags":["x_refsource_MISC"]}],"priority":{"score":9.8,"factors":[{"name":"EPSS percentile","points":3.67},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"ci4-cms-erp","affectedVersions":[{"vendor":"ci4-cms-erp","product":"ci4ms","versions":["< 0.31.9.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-20T15:11:07.422358Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"ci4-cms-erp/ci4ms","vulnerableRanges":["<0.31.9.0"],"patched":["0.31.9.0"],"from":["GHSA-gqr2-7hcg-rchf"],"provenance":"source"}],"summary":{"text":"CI4MS, a CodeIgniter 4-based content management system skeleton from ci4-cms-erp, has a stored cross-site scripting flaw in the Pages backend module, where page content is saved without the sanitisation its validation rule implies and is then output unescaped on public pages. An attacker with a low-privilege account who can edit page content can plant a script that runs in the browser of any visitor who views the affected page, provided a user interacts with it. Because pages can be promoted to the site home page, the script can reach every visitor of the site.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:06Z"},"euvd":{"id":"EUVD-2026-45951","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-41891","published":"2026-05-07","fixed":"0.31.8.0","kev":false,"link":{"from":"CVE-2026-41891","to":"CVE-2026-45270","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:ci4-cms-erp/ci4ms","fromFixed":"0.31.8.0","toFixed":"0.31.9.0","daysApart":74}]}},{"cve":"CVE-2026-45138","published":"2026-07-19","fixed":"0.31.9.0","kev":false},{"cve":"CVE-2026-45139","published":"2026-07-20","fixed":"0.31.9.0","kev":false},{"cve":"CVE-2026-45270","published":"2026-07-20","fixed":"0.31.9.0","kev":false},{"cve":"CVE-2026-34989","published":"2026-04-06","fixed":"31.0.0.0","kev":false}],"package":"Packagist:ci4-cms-erp/ci4ms"}}