24 matches found
Haml cross-site scripting vulnerability (CNVD-2021-47372)
haml is an open source HTML abstract markup language from the Haml HAML team. A cross-site scripting vulnerability exists in haml-coffee, which supports overriding a range of HTML helper functions through its configuration options. Control of the escapeHtml parameter through template configuratio...
GHSA-M7MF-VM62-7X3Q Insecure template handling in haml-coffee
haml-coffee is a JavaScript templating solution. haml-coffee mixes pure template data with engine configuration options through the Express render API. More specifically, haml-coffee supports overriding a series of HTML helper functions through its configuration options. A vulnerable application...
Remote Code Execution
haml-coffee is vulnerable to remote code execution. A remote attacker is able to execute arbitrary code in downstream applications via the customHtmlEscape parameter. Additionally, control over the escapeHtml parameter allows an attacker to perform cross-site scripting attacks...
一个Coremail的存储型XSS
简要描述: 某处 escape 姿势不对 详细说明: 目前的代码,在构造发件人时,代码如下: function getEmailDivemailAddress return '' 那么 escapeHTML 是什么呢? function var div=document.createElement"div"; var 15=document.createTextNodethis; div.appendChild15; return div.innerHTML; 这种过滤并不会过滤单引号和双引号,所以可以构造特别的字符串逃逸到双引号以外 漏洞证明: 最简单触发方式是利用 onmousexx...