Stored XSS Vulnerability in CI4MS Content Management System by CodeIgniter 4
CVE-2026-45138
5.4MEDIUM
What is CVE-2026-45138?
CI4MS, a content management system based on CodeIgniter 4, is susceptible to a stored XSS vulnerability due to improper sanitization of blog post content. The custom html_purify validation rule fails to sanitize text correctly, allowing malicious scripts to be stored in the database without escaping. When displayed, these scripts can execute in the browser of any visitor, including superadmins, during post preview or editing. The issue is rectified in version 0.31.9.0, emphasizing the importance of keeping your software up to date.
Affected Version(s)
ci4ms < 0.31.9.0
