漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Template::Plugin::HTML versions through 3.102 for Perl allows HTML and JavaScript to be injected
Vulnerability Description
Template::Plugin::HTML versions through 3.102 for Perl allows HTML and JavaScript to be injected. The html_filter function did not escape single quotes. HTML attributes inside of single quotes could be have code injected. For example, the variable "var" in <a id='ref' title='[% var | html %]'> would not be properly escaped. An attacker could insert some limited HTML and JavaScript, for example, var = " ' onclick='while (true) { alert(1) }'" Note that arbitrary HTML and JavaScript would be difficult to inject, because angle brackets, ampersands and double-quotes would still be escaped.
CVSS Information
N/A
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
Template 跨站脚本漏洞
Vulnerability Description
Template是Blake Embrey个人开发者的一个快速简单的字符串模板。 Template 3.102及之前版本存在跨站脚本漏洞,该漏洞源于html_filter函数未转义单引号,可能导致HTML和JavaScript注入。
CVSS Information
N/A
Vulnerability Type
N/A