Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-39392— CI4MS has Stored XSS in Pages Content Due to Missing html_purify Sanitization

Quick assessment

Affected
ci4-cms-erp ci4ms
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

CI4MS是Ci4MS开源的一个博客页面管理工具。 CI4MS 0.31.4.0之前版本存在跨站脚本漏洞,该漏洞源于Pages模块未对内容字段应用html_purify验证规则,可能导致具有页面编辑权限的认证管理员注入并执行任意JavaScript。

CVSS 5.5 · Medium EPSS 0.25% · P15
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-39392

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
CI4MS has Stored XSS in Pages Content Due to Missing html_purify Sanitization
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
CI4MS 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
CI4MS是Ci4MS开源的一个博客页面管理工具。 CI4MS 0.31.4.0之前版本存在跨站脚本漏洞,该漏洞源于Pages模块未对内容字段应用html_purify验证规则,可能导致具有页面编辑权限的认证管理员注入并执行任意JavaScript。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

II. Public POCs for CVE-2026-39392

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-39392

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-39392 (1)

Same Patch Batch · ci4-cms-erp · 2026-04-08 · 6 CVEs total

CVE-2026-39394 8.1 HIGH CI4MS has an .env CRLF Injection via Unvalidated `host` Parameter in Install Controller
CVE-2026-39393 8.1 HIGH Post-Installation Re-entry via Cache-Dependent Install Guard Bypass in ci4ms
CVE-2026-39389 6.7 MEDIUM CI4MS has a Hidden Items Authorization Bypass in Fileeditor Allows Reading Secrets and Wri
CVE-2026-39390 5.5 MEDIUM CI4MS has Stored XSS via srcdoc attribute bypass in Google Maps iframe setting
CVE-2026-39391 4.8 MEDIUM CI4MS has Stored XSS via Unescaped Blacklist Note in Admin User List

IV. Related Vulnerabilities