漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Grav - Stored CSS Injection via Markdown Image resize() Action
Vulnerability Description
Grav before 2.0.0 (affected through 2.0.0-rc.9 and the 2.0 branch) contains a stored CSS injection vulnerability in the Markdown image resize() media action. Prior media hardening rejects direct ?style= payloads and unsafe attribute() fallbacks, but the resize() action in Excerpts::processMediaActions() writes caller-controlled values directly into the image's styleAttributes. A lower-privileged content editor who can edit page Markdown can store a crafted image URL with semicolon-delimited CSS declarations in the resize parameters, which are rendered into the final <img style=...> attribute when a higher-privileged reviewer/admin views the page or preview. This does not require JavaScript execution but enables UI redress/overlay and content-manipulation attacks (e.g., a full-viewport fixed overlay). Fixed in 2.0.0.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
Grav 跨站脚本漏洞
Vulnerability Description
Grav Grav是Grav组织开源的一个基于文件系统的无数据库内容管理系统。 Grav 2.0.0之前版本存在跨站脚本漏洞,该漏洞源于Markdown image resize()媒体动作中的存储型CSS注入问题,在Excerpts::processMediaActions()中的resize()动作直接将调用者控制的值写入图像的styleAttributes,可能导致低权限的内容编辑器存储带有分号分隔CSS声明的特制图像URL,当高权限的审查者或管理员查看页面或预览时,这些声明被渲染到最终的<img
CVSS Information
N/A
Vulnerability Type
N/A