Skip to main content
← All vulnerabilities
CVE-2026-39392GHSA-FJPJ-6QCQ-6PW2

CI4MS has Stored XSS in Pages Content Due to Missing html_purify Sanitization

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.31.4.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • ci4-cms-erp ci4ms

    fixed in 0.31.4.0

  • ci4-cms-erp/ci4msPackagist

    fixed in 0.31.4.0

References 1

GitHub · ci4-cms-erp/ci4ms