漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
CI4MS: Stored XSS in Blog Content via Broken `html_purify` Validation Rule
Vulnerability Description
CI4MS is a CodeIgniter 4-based content management system skeleton. Prior to version 0.31.9.0, the custom `html_purify` validation rule used to sanitize blog post bodies relies on by-reference mutation (`?string &$str`), but CodeIgniter 4's validator passes a local copy of the value, so the sanitized text is silently discarded. The Blog controller writes `$lanData['content']` directly into `blog_langs.content`, and the public template echoes it without escaping — yielding stored XSS executable in any visitor's browser, including the superadmin when previewing or editing posts. Version 0.31.9.0 patches the issue.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
CI4MS 跨站脚本漏洞
Vulnerability Description
CI4MS是Ci4MS团队开源的一个博客页面管理工具。 CI4MS 0.31.9.0之前版本存在跨站脚本漏洞,该漏洞源于自定义html_purify验证规则依赖引用传递,但CodeIgniter 4的验证器传递了本地副本,导致清理后的文本被静默丢弃,并且Blog控制器将$lanData['content']直接写入blog_langs.content,公共模板未经转义输出,容易受到存储型跨站脚本攻击。
CVSS Information
N/A
Vulnerability Type
N/A