{"id":"CVE-2026-39392","published":"2026-04-08T14:30:59Z","modified":"2026-04-08T16:05:26Z","title":"CI4MS has Stored XSS in Pages Content Due to Missing html_purify Sanitization","vendor":"ci4-cms-erp","product":"ci4ms","tier":"tail","description":{"text":"CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a production-ready, modular architecture with RBAC authorization and theme support. Prior to 0.31.4.0, the Pages module does not apply the html_purify validation rule to content fields during create and update operations, while the Blog module does. Page content is stored unsanitized in the database and rendered as raw HTML on the public frontend via echo $pageInfo->content. An authenticated admin with page-editing privileges can inject arbitrary JavaScript that executes in the browser of every public visitor viewing the page. This vulnerability is fixed in 0.31.4.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00251,"percentile":0.16843,"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-fjpj-6qcq-6pw2","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":3.37},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"ci4-cms-erp","affectedVersions":[{"vendor":"ci4-cms-erp","product":"ci4ms","versions":["< 0.31.4.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-08T16:05:19.746064Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"ci4-cms-erp/ci4ms","vulnerableRanges":["<0.31.4.0"],"patched":["0.31.4.0"],"from":["GHSA-fjpj-6qcq-6pw2"],"provenance":"source"}],"summary":{"text":"CI4MS (the ci4ms product from ci4-cms-erp) has a stored cross-site scripting flaw in its Pages module, where page content fields are saved without the html_purify sanitization that the Blog module applies, and the content is rendered as raw HTML on the public frontend. An authenticated user with page-editing privileges, who can reach the admin interface over the network, can inject arbitrary JavaScript that then executes in the browser of every public visitor who views the affected page, with no further user interaction required beyond that visit.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:29Z"},"euvd":{"id":"EUVD-2026-20485","exploited":false,"provenance":"source"}}