漏洞标题
TimelineJS3中的存储型XSS
漏洞描述信息
在TimelineJS 3.7.0版本之前,某些用户数据会作为HTML渲染。攻击者可以通过在多个数据字段中构造恶意内容,实现跨站脚本(XSS)漏洞的利用。无论时间线的源数据存储在Google表格还是JSON配置文件中,此风险都存在。大多数TimelineJS用户使用Google表格文档配置其时间线。如果他们将文档的写入权限授予恶意内部攻击者,或者受信任用户的权限被泄露,或者他们将文档的公共写入权限授予他人,这些用户将面临此漏洞的风险。一些TimelineJS用户使用JSON文档配置其时间线。如果他们将文档的写入权限授予恶意内部攻击者,或者受信任用户的权限被泄露,或者系统托管文档的写入权限以其他方式被泄露,这些用户将面临此漏洞的风险。TimelineJS 3.7.0版本通过两种方式解决了这个问题。对于旨在支持有限HTML标记以进行样式和链接的文本内容,这些内容在添加到DOM之前会进行“净化”。对于打算用于简单文本显示的内容,会剥离所有标记。实际上,很少有TimelineJS用户在其服务器上安装TimelineJS代码。大多数用户使用我们控制的系统托管的URL发布时间线。我们已经在这个系统上发布了这个问题的修复方案,因此**这些用户会自动开始使用新代码**。唯一的例外是那些故意编辑嵌入URL以将时间线“固定”在早期代码版本的用户。一些TimelineJS用户使用它作为WordPress插件(knight-lab-timelinejs)的一部分。该插件的3.7.0.0版本及更高版本集成了更新的代码。建议用户更新插件,而不是手动更新嵌入的时间线版本。
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
漏洞类别
N/A
漏洞标题
Stored XSS in TimelineJS3
漏洞描述信息
In TimelineJS before version 3.7.0, some user data renders as HTML. An attacker could implement an XSS exploit with maliciously crafted content in a number of data fields. This risk is present whether the source data for the timeline is stored on Google Sheets or in a JSON configuration file. Most TimelineJS users configure their timeline with a Google Sheets document. Those users are exposed to this vulnerability if they grant write access to the document to a malicious inside attacker, if the access of a trusted user is compromised, or if they grant public write access to the document. Some TimelineJS users configure their timeline with a JSON document. Those users are exposed to this vulnerability if they grant write access to the document to a malicious inside attacker, if the access of a trusted user is compromised, or if write access to the system hosting that document is otherwise compromised. Version 3.7.0 of TimelineJS addresses this in two ways. For content which is intended to support limited HTML markup for styling and linking, that content is "sanitized" before being added to the DOM. For content intended for simple text display, all markup is stripped. Very few users of TimelineJS actually install the TimelineJS code on their server. Most users publish a timeline using a URL hosted on systems we control. The fix for this issue is published to our system such that **those users will automatically begin using the new code**. The only exception would be users who have deliberately edited the embed URL to "pin" their timeline to an earlier version of the code. Some users of TimelineJS use it as a part of a wordpress plugin (knight-lab-timelinejs). Version 3.7.0.0 of that plugin and newer integrate the updated code. Users are encouraged to update the plugin rather than manually update the embedded version of TimelineJS.
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
漏洞类别
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
漏洞标题
TimelineJS 跨站脚本漏洞
漏洞描述信息
TimelineJS是美国西北大学骑士实验室(Northwestern University Knight Lab)的一款用于构建交互式时间轴的开源工具。 TimelineJS 3.7.0之前版本中存在跨站脚本漏洞,该漏洞源于程序没有正确验证用户输入。远程攻击者可利用该漏洞获取用户的身份验证凭据。
CVSS信息
N/A
漏洞类别
跨站脚本