Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-34563: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ci4-cms-erp ci4ms

0
Critical
VulnerabilityCVE-2026-34563cvecve-2026-34563cwe-79
Published: Wed Apr 01 2026 (04/01/2026, 21:25:13 UTC)
Source: CVE Database V5
Vendor/Project: ci4-cms-erp
Product: ci4ms

Description

CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a production-ready, modular architecture with RBAC authorization and theme support. Prior to version 0.31.0.0, the application fails to properly sanitize user-controlled input when handling backup uploads and processing backup metadata. An attacker can inject a malicious JavaScript payload into the backup filename via the uploaded xss.sql, which uses SQL functionality to insert the XSS payload server-side. This stored payload is later rendered unsafely in multiple backup management views without proper output encoding, leading to stored blind cross-site scripting (Blind XSS). This issue has been patched in version 0.31.0.0.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/01/2026, 22:10:39 UTC

Technical Analysis

CVE-2026-34563 is a stored cross-site scripting (XSS) vulnerability identified in ci4ms, a CMS built on the CodeIgniter 4 framework. The vulnerability arises from improper neutralization of user-controlled input during web page generation, specifically in the handling of backup uploads and their metadata. Attackers can upload a specially crafted backup file named with a malicious JavaScript payload (e.g., via an xss.sql file). This payload is stored server-side using SQL functionality and later rendered in multiple backup management views without proper output encoding or sanitization. Because the malicious script is stored and executed in the context of authenticated users viewing the backup management interface, it constitutes a stored blind XSS attack. This can lead to session hijacking, unauthorized actions, or further exploitation within the administrative interface. The vulnerability requires the attacker to have at least limited authenticated access to upload backups but does not require victim user interaction to trigger the payload once stored. The flaw affects all ci4ms versions prior to 0.31.0.0 and has been addressed in that release. The CVSS v3.1 base score is 9.1, reflecting high impact on confidentiality, moderate impact on integrity and availability, network attack vector, low attack complexity, and privileges required. No known exploits are currently reported in the wild, but the critical nature and ease of exploitation make this a significant threat to affected deployments.

Potential Impact

The vulnerability allows attackers to execute arbitrary JavaScript in the context of authenticated users managing backups, potentially leading to session hijacking, privilege escalation, or unauthorized administrative actions. This compromises confidentiality by exposing sensitive session tokens or data, integrity by enabling unauthorized changes, and availability by potentially disrupting backup management functions. Since the attack vector is network-based and requires only low privileges, attackers with limited access can leverage this to escalate their control. Organizations relying on ci4ms for content management and backup operations face risks of data breaches, operational disruption, and reputational damage. The stored nature of the XSS means the payload persists until the backup is removed or the system is patched, increasing exposure duration. The vulnerability is particularly impactful in environments where backup management interfaces are accessed by multiple administrators or integrated into broader operational workflows.

Mitigation Recommendations

Immediate mitigation requires upgrading ci4ms to version 0.31.0.0 or later, where the vulnerability is patched. Until upgrade is possible, organizations should restrict backup upload permissions strictly to trusted users and monitor backup filenames for suspicious patterns or scripts. Implement additional input validation on backup filenames to reject or sanitize potentially malicious characters or scripts. Employ Content Security Policy (CSP) headers to limit the impact of injected scripts. Regularly audit backup management views and logs for unusual activity. Consider isolating backup management interfaces behind additional authentication layers or network segmentation. Educate administrators about the risks of uploading untrusted backup files and the importance of applying security updates promptly. Finally, conduct penetration testing focused on XSS vectors in backup and metadata handling to verify remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 69cd93ece6bfc5ba1d00361d

Added to database: 4/1/2026, 9:53:48 PM

Last enriched: 4/1/2026, 10:10:39 PM

Last updated: 4/6/2026, 9:30:10 AM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses