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

0
Medium
VulnerabilityCVE-2026-39390cvecve-2026-39390cwe-79
Published: Wed Apr 08 2026 (04/08/2026, 14:29:28 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 Google Maps iframe setting (cMap field) in compInfosPost() sanitizes input using strip_tags() with an <iframe> allowlist and regex-based removal of on\w+ event handlers. However, the srcdoc attribute is not an event handler and passes all filters. An attacker with admin settings access can inject an <iframe srcdoc="..."> payload with HTML-entity-encoded JavaScript that executes in the context of the parent page when rendered to unauthenticated frontend visitors. This vulnerability is fixed in 0.31.4.0.

AI-Powered Analysis

Machine-generated threat intelligence

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

Technical Analysis

The vulnerability in ci4ms (versions before 0.31.4.0) arises from improper input neutralization in the Google Maps iframe setting (cMap field) within the compInfosPost() function. Although input is sanitized using strip_tags() with an iframe allowlist and regex-based removal of on\w+ event handlers, the srcdoc attribute is not treated as an event handler and bypasses these filters. An attacker with administrative privileges can inject an iframe with a srcdoc attribute containing HTML-entity-encoded JavaScript, which executes in the parent page context when viewed by unauthenticated users. This cross-site scripting flaw allows limited confidentiality and integrity impact but does not affect availability. The issue is resolved in version 0.31.4.0.

Potential Impact

An attacker with admin-level access can inject malicious JavaScript via the srcdoc attribute in an iframe, which executes in the context of the parent page for unauthenticated frontend visitors. This can lead to partial confidentiality and integrity compromise of the affected application environment. There is no impact on availability. The vulnerability requires high privileges (admin access) to exploit and does not involve user interaction.

Mitigation Recommendations

This vulnerability is fixed in ci4ms version 0.31.4.0. Users should upgrade to version 0.31.4.0 or later to remediate this issue. No other official remediation or temporary fixes are documented. Since this is not a cloud service, patching the affected software version is required to mitigate the risk.

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

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

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

Last updated: 4/10/2026, 7:41:20 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