CVE-2026-34558: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ci4-cms-erp ci4ms
CVE-2026-34558 is a critical stored DOM-based Cross-Site Scripting (XSS) vulnerability in ci4ms, a CodeIgniter 4-based CMS. Versions prior to 0. 31. 0. 0 fail to sanitize user input in the Methods Management functionality, allowing attacker-controlled JavaScript payloads to be stored and rendered in administrative interfaces without proper encoding. This can lead to execution of malicious scripts in the context of authenticated users with privileges, potentially compromising confidentiality and availability. The vulnerability requires low privileges but no user interaction, and it has been patched in version 0. 31. 0. 0.
AI Analysis
Technical Summary
CVE-2026-34558 is a stored DOM-based Cross-Site Scripting (XSS) vulnerability identified in ci4ms, a CMS built on the CodeIgniter 4 framework. The vulnerability exists in versions prior to 0.31.0.0 within the Methods Management functionality, where multiple input fields accept user-supplied data that is not properly sanitized or encoded before storage and subsequent rendering. Specifically, attacker-controlled JavaScript payloads can be injected into these fields and stored server-side. When these stored values are later rendered in administrative interfaces and global navigation components, they are output without proper encoding, enabling the execution of malicious scripts in the browser of authenticated users. This flaw stems from improper neutralization of input during web page generation, classified under CWE-79. The vulnerability allows an attacker with at least limited privileges (PR:L) to inject scripts that compromise confidentiality by stealing sensitive data, integrity by manipulating displayed content, and availability by potentially causing denial-of-service conditions. The CVSS v3.1 base score is 9.1 (critical), reflecting its high impact and ease of exploitation over the network without user interaction. Although no known exploits are currently reported in the wild, the vulnerability poses a significant risk to organizations using affected ci4ms versions. The issue has been addressed in ci4ms version 0.31.0.0 by implementing proper input sanitization and output encoding.
Potential Impact
The vulnerability allows attackers to execute arbitrary JavaScript in the context of authenticated users, particularly administrators, which can lead to theft of sensitive information such as credentials or session tokens, unauthorized actions performed on behalf of users, and potential disruption of service. The stored nature of the XSS means the malicious payload persists and affects all users who access the compromised components, increasing the attack surface and potential damage. Organizations relying on ci4ms for content management and enterprise resource planning risk data breaches, privilege escalation, and operational disruptions. The critical severity and ease of exploitation make this a high-priority threat, especially in environments with multiple users and administrative roles. Additionally, the vulnerability could be leveraged as a foothold for further attacks within the network or to pivot to other systems.
Mitigation Recommendations
Organizations should immediately upgrade ci4ms installations to version 0.31.0.0 or later, where the vulnerability is patched. Until upgrading is possible, implement strict input validation on all user-supplied data in the Methods Management functionality, rejecting or sanitizing any input containing script or HTML tags. Employ comprehensive output encoding (e.g., HTML entity encoding) when rendering user input in administrative interfaces and navigation components to prevent script execution. Conduct thorough code reviews and penetration testing focusing on input handling and output contexts. Limit privileges of users who can access the Methods Management functionality to reduce risk. Additionally, implement Content Security Policy (CSP) headers to restrict script execution sources and monitor logs for suspicious activity indicative of exploitation attempts. Regularly update and patch all components of the CMS and underlying frameworks to minimize exposure to known vulnerabilities.
Affected Countries
United States, Germany, United Kingdom, India, Australia, Canada, Netherlands, France, Brazil, Japan
CVE-2026-34558: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ci4-cms-erp ci4ms
Description
CVE-2026-34558 is a critical stored DOM-based Cross-Site Scripting (XSS) vulnerability in ci4ms, a CodeIgniter 4-based CMS. Versions prior to 0. 31. 0. 0 fail to sanitize user input in the Methods Management functionality, allowing attacker-controlled JavaScript payloads to be stored and rendered in administrative interfaces without proper encoding. This can lead to execution of malicious scripts in the context of authenticated users with privileges, potentially compromising confidentiality and availability. The vulnerability requires low privileges but no user interaction, and it has been patched in version 0. 31. 0. 0.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-34558 is a stored DOM-based Cross-Site Scripting (XSS) vulnerability identified in ci4ms, a CMS built on the CodeIgniter 4 framework. The vulnerability exists in versions prior to 0.31.0.0 within the Methods Management functionality, where multiple input fields accept user-supplied data that is not properly sanitized or encoded before storage and subsequent rendering. Specifically, attacker-controlled JavaScript payloads can be injected into these fields and stored server-side. When these stored values are later rendered in administrative interfaces and global navigation components, they are output without proper encoding, enabling the execution of malicious scripts in the browser of authenticated users. This flaw stems from improper neutralization of input during web page generation, classified under CWE-79. The vulnerability allows an attacker with at least limited privileges (PR:L) to inject scripts that compromise confidentiality by stealing sensitive data, integrity by manipulating displayed content, and availability by potentially causing denial-of-service conditions. The CVSS v3.1 base score is 9.1 (critical), reflecting its high impact and ease of exploitation over the network without user interaction. Although no known exploits are currently reported in the wild, the vulnerability poses a significant risk to organizations using affected ci4ms versions. The issue has been addressed in ci4ms version 0.31.0.0 by implementing proper input sanitization and output encoding.
Potential Impact
The vulnerability allows attackers to execute arbitrary JavaScript in the context of authenticated users, particularly administrators, which can lead to theft of sensitive information such as credentials or session tokens, unauthorized actions performed on behalf of users, and potential disruption of service. The stored nature of the XSS means the malicious payload persists and affects all users who access the compromised components, increasing the attack surface and potential damage. Organizations relying on ci4ms for content management and enterprise resource planning risk data breaches, privilege escalation, and operational disruptions. The critical severity and ease of exploitation make this a high-priority threat, especially in environments with multiple users and administrative roles. Additionally, the vulnerability could be leveraged as a foothold for further attacks within the network or to pivot to other systems.
Mitigation Recommendations
Organizations should immediately upgrade ci4ms installations to version 0.31.0.0 or later, where the vulnerability is patched. Until upgrading is possible, implement strict input validation on all user-supplied data in the Methods Management functionality, rejecting or sanitizing any input containing script or HTML tags. Employ comprehensive output encoding (e.g., HTML entity encoding) when rendering user input in administrative interfaces and navigation components to prevent script execution. Conduct thorough code reviews and penetration testing focusing on input handling and output contexts. Limit privileges of users who can access the Methods Management functionality to reduce risk. Additionally, implement Content Security Policy (CSP) headers to restrict script execution sources and monitor logs for suspicious activity indicative of exploitation attempts. Regularly update and patch all components of the CMS and underlying frameworks to minimize exposure to known vulnerabilities.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-30T16:31:39.265Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69cae2bce6bfc5ba1d6c3e4e
Added to database: 3/30/2026, 8:53:16 PM
Last enriched: 3/30/2026, 9:08:36 PM
Last updated: 3/30/2026, 10:15:21 PM
Views: 3
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.