CVE-2026-45270
HIGH 8.7CVSS 3.1CI4MS: Stored XSS in Pages Module Content via Broken html_purify Validation Rule
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.
- Published
- 20 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-gqr2-7hcg-rchf
- Sources
- NVDJSONOSV GHSA-gqr2-7hcg-rchfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | ci4-cms-erp/ci4ms | < 0.31.9.0 | 0.31.9.0 |
References
- https://github.com/ci4-cms-erp/ci4ms/releases/tag/0.31.9.0 · WEB
- https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-gqr2-7hcg-rchf · WEB
- https://github.com/ci4-cms-erp/ci4ms · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 20 Jul 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 18 May 2026)