CVE-2026-27599: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ci4-cms-erp ci4ms
CVE-2026-27599 is a medium severity cross-site scripting (XSS) vulnerability in ci4ms, a CodeIgniter 4-based CMS. Versions prior to 0. 31. 0. 0 improperly sanitize user input in the System Settings – Mail Settings section, allowing attacker-controlled data to be stored and rendered without proper encoding. This affects configuration fields such as Mail Server, Mail Port, Email Address, Email Password, Mail Protocol, and TLS settings. Exploitation requires authenticated access with high privileges but no user interaction. The vulnerability can lead to limited confidentiality, integrity, and availability impacts. The issue has been patched in version 0. 31.
AI Analysis
Technical Summary
CVE-2026-27599 is a cross-site scripting (XSS) vulnerability identified in ci4ms, a CMS built on the CodeIgniter 4 framework. The vulnerability arises from improper neutralization of user-supplied input during web page generation, specifically within the System Settings – Mail Settings configuration interface. Several fields including Mail Server, Mail Port, Email Address, Email Password, Mail Protocol, and TLS settings accept input from authenticated users with high privileges but fail to sanitize or encode this input before storing it server-side and rendering it in the administrative UI. This flaw allows an attacker with administrative access to inject malicious scripts that execute in the context of other administrators viewing the settings page, potentially leading to session hijacking, privilege escalation, or manipulation of configuration data. The CVSS v3.1 base score is 4.7 (medium severity), reflecting the need for authentication with high privileges and the limited scope of impact. No known exploits have been reported in the wild. The vulnerability was addressed in ci4ms version 0.31.0.0 by implementing proper output encoding and input validation to prevent script injection.
Potential Impact
The primary impact of this vulnerability is the potential for stored XSS attacks within the administrative interface of ci4ms installations prior to version 0.31.0.0. An attacker with high-level authenticated access can inject malicious scripts into mail configuration fields that execute when other administrators access the settings page. This can lead to theft of administrative session tokens, unauthorized actions performed with elevated privileges, or manipulation of system configurations, potentially disrupting email functionality or broader system operations. Although exploitation requires prior administrative access, the vulnerability increases risk by enabling lateral attacks among administrators and undermining trust in the CMS’s configuration integrity. Organizations relying on ci4ms for critical content management and enterprise resource planning functions may face data confidentiality breaches, integrity violations, and partial availability degradation. The absence of known exploits reduces immediate risk, but the vulnerability’s presence in production environments warrants prompt remediation to prevent targeted attacks.
Mitigation Recommendations
Organizations should immediately upgrade ci4ms installations to version 0.31.0.0 or later, where the vulnerability has been patched with proper input sanitization and output encoding. Until upgrading is possible, restrict administrative access to trusted personnel only and monitor administrative activity logs for suspicious behavior. Implement web application firewalls (WAFs) with rules targeting XSS payloads in HTTP requests to the mail settings endpoints. Conduct thorough input validation and output encoding reviews for all administrative interfaces, especially those accepting configuration data. Employ multi-factor authentication and session management best practices to reduce the impact of potential session hijacking. Regularly audit and sanitize stored configuration data to remove any injected scripts. Finally, educate administrators about the risks of stored XSS and encourage cautious handling of configuration inputs.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, Netherlands, France, Japan, India, Brazil
CVE-2026-27599: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ci4-cms-erp ci4ms
Description
CVE-2026-27599 is a medium severity cross-site scripting (XSS) vulnerability in ci4ms, a CodeIgniter 4-based CMS. Versions prior to 0. 31. 0. 0 improperly sanitize user input in the System Settings – Mail Settings section, allowing attacker-controlled data to be stored and rendered without proper encoding. This affects configuration fields such as Mail Server, Mail Port, Email Address, Email Password, Mail Protocol, and TLS settings. Exploitation requires authenticated access with high privileges but no user interaction. The vulnerability can lead to limited confidentiality, integrity, and availability impacts. The issue has been patched in version 0. 31.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-27599 is a cross-site scripting (XSS) vulnerability identified in ci4ms, a CMS built on the CodeIgniter 4 framework. The vulnerability arises from improper neutralization of user-supplied input during web page generation, specifically within the System Settings – Mail Settings configuration interface. Several fields including Mail Server, Mail Port, Email Address, Email Password, Mail Protocol, and TLS settings accept input from authenticated users with high privileges but fail to sanitize or encode this input before storing it server-side and rendering it in the administrative UI. This flaw allows an attacker with administrative access to inject malicious scripts that execute in the context of other administrators viewing the settings page, potentially leading to session hijacking, privilege escalation, or manipulation of configuration data. The CVSS v3.1 base score is 4.7 (medium severity), reflecting the need for authentication with high privileges and the limited scope of impact. No known exploits have been reported in the wild. The vulnerability was addressed in ci4ms version 0.31.0.0 by implementing proper output encoding and input validation to prevent script injection.
Potential Impact
The primary impact of this vulnerability is the potential for stored XSS attacks within the administrative interface of ci4ms installations prior to version 0.31.0.0. An attacker with high-level authenticated access can inject malicious scripts into mail configuration fields that execute when other administrators access the settings page. This can lead to theft of administrative session tokens, unauthorized actions performed with elevated privileges, or manipulation of system configurations, potentially disrupting email functionality or broader system operations. Although exploitation requires prior administrative access, the vulnerability increases risk by enabling lateral attacks among administrators and undermining trust in the CMS’s configuration integrity. Organizations relying on ci4ms for critical content management and enterprise resource planning functions may face data confidentiality breaches, integrity violations, and partial availability degradation. The absence of known exploits reduces immediate risk, but the vulnerability’s presence in production environments warrants prompt remediation to prevent targeted attacks.
Mitigation Recommendations
Organizations should immediately upgrade ci4ms installations to version 0.31.0.0 or later, where the vulnerability has been patched with proper input sanitization and output encoding. Until upgrading is possible, restrict administrative access to trusted personnel only and monitor administrative activity logs for suspicious behavior. Implement web application firewalls (WAFs) with rules targeting XSS payloads in HTTP requests to the mail settings endpoints. Conduct thorough input validation and output encoding reviews for all administrative interfaces, especially those accepting configuration data. Employ multi-factor authentication and session management best practices to reduce the impact of potential session hijacking. Regularly audit and sanitize stored configuration data to remove any injected scripts. Finally, educate administrators about the risks of stored XSS and encourage cautious handling of configuration inputs.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-02-20T19:43:14.602Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69cae2bce6bfc5ba1d6c3e36
Added to database: 3/30/2026, 8:53:16 PM
Last enriched: 3/30/2026, 9:10:24 PM
Last updated: 3/31/2026, 4:52:51 AM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.