CVE-2026-34571 CI4MS: Stored Cross‑Site Scripting (Stored XSS) in Backend User Management Allows Session Hijacking and Full Administrative Account Compromise

Critical 10.0 Published Updated

Attackers can inject persistent JavaScript in the backend user management interface to hijack sessions and compromise administrative accounts.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-34571?

CVE-2026-34571 is a critical cross-site scripting vulnerability in ci4-cms-erp ci4ms, published on 1 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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, a Stored Cross-Site Scripting (Stored XSS) vulnerability exists in the backend user management functionality. The application fails to properly sanitize user-controlled input before rendering it in the administrative interface, allowing attackers to inject persistent JavaScript code. This results in automatic execution whenever backend users access the affected page, enabling session hijacking, privilege escalation, and full administrative account compromise. This issue has been patched in version 0.31.0.0.

Weakness: CWE-79

Which versions are affected by CVE-2026-34571?

2 open source packages ship an affected version, including ci4-cms-erp/ci4ms. It affects 1 product.

PackageAffectedFixed in
ci4-cms-erp/ci4ms PackagistAll versions0.31.0.0
ci4-cms-erp/ci4ms PackagistAll versions0.31.0.0

Products include Ci4-Cms-Erp Ci4ms.

How do I fix CVE-2026-34571?

Upgrade ci4-cms-erp/ci4ms to 0.31.0.0 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-34571 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34571 exists.

Sources

Also known as GHSA-fc4p-p49v-r948.

Is CVE-2026-34571 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free