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-39392: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ci4-cms-erp ci4ms

0
Medium
VulnerabilityCVE-2026-39392cvecve-2026-39392cwe-79
Published: Wed Apr 08 2026 (04/08/2026, 14:30:59 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 0.31.4.0, the Pages module does not apply the html_purify validation rule to content fields during create and update operations, while the Blog module does. Page content is stored unsanitized in the database and rendered as raw HTML on the public frontend via echo $pageInfo->content. An authenticated admin with page-editing privileges can inject arbitrary JavaScript that executes in the browser of every public visitor viewing the page. This vulnerability is fixed in 0.31.4.0.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 05:27:05 UTC

Technical Analysis

The vulnerability exists because the Pages module in ci4ms versions before 0.31.4.0 fails to apply the html_purify validation rule to content fields during create and update operations, unlike the Blog module which does. As a result, page content is stored unsanitized and rendered as raw HTML via echo $pageInfo->content on the public frontend. An authenticated administrator with page-editing rights can exploit this to inject arbitrary JavaScript code, leading to cross-site scripting attacks. The issue is resolved in version 0.31.4.0 by applying proper input sanitization.

Potential Impact

An authenticated admin user with page-editing privileges can inject arbitrary JavaScript code into pages, which will execute in the browsers of all public visitors viewing those pages. This can lead to client-side code execution, potentially compromising user data or session integrity. The CVSS score is 5.5 (medium severity), reflecting limited scope due to the requirement for authenticated admin privileges and no direct impact on availability.

Mitigation Recommendations

Upgrade ci4ms to version 0.31.4.0 or later, where the vulnerability is fixed by applying the html_purify validation rule to page content fields. Since no official patch or temporary fix is separately provided, updating to the fixed version is the recommended remediation. There is no indication that the vulnerability is mitigated otherwise.

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-04-06T22:06:40.516Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69d737041cc7ad14da41952b

Added to database: 4/9/2026, 5:20:04 AM

Last enriched: 4/9/2026, 5:27:05 AM

Last updated: 4/10/2026, 8:01:09 AM

Views: 6

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