Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%
Get alerts for future matching vulnerabilitiesLog in to subscribe
I. Basic Information for CVE-2021-37634
Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
LeafKit allows XSS with untrusted user input
Source: NVD (National Vulnerability Database)
Vulnerability Description
Leafkit is a templating language with Swift-inspired syntax. Versions prior to 1.3.0 are susceptible to Cross-site Scripting (XSS) attacks. This affects anyone passing unsanitised data to Leaf's variable tags. Before this fix, Leaf would not escape any strings passed to tags as variables. If an attacker managed to find a variable that was rendered with their unsanitised data, they could inject scripts into a generated Leaf page, which could enable XSS attacks if other mitigations such as a Content Security Policy were not enabled. This has been patched in 1.3.0. As a workaround sanitize any untrusted input before passing it to Leaf and enable a CSP to block inline script and CSS data.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: NVD (National Vulnerability Database)
Vulnerability Title
leafkit 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
leafkit是一个应用软件。使用 Swift 创建模块化服务器端软件。 Leafkit 1.3.0之前版本存在跨站脚本漏洞,这会影响任何将未经处理的数据传递给Leaf变量标签的用户。Leaf不会转义任何作为变量传递给标签的字符串。攻击者可利用该漏洞设法找到未经数据处理而呈现的一个变量,攻击者可以将脚本注入到生成的Leaf页面中,如果没有启用内容安全策略等其他缓解措施,这可能会触发跨站脚本攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)
Affected Products
VendorProductAffected VersionsCPESubscribe
vaporleaf-kit < 1.3.0 -
II. Public POCs for CVE-2021-37634
#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC
III. Intelligence Information for CVE-2021-37634
Please Login to view more intelligence information
IV. Related Vulnerabilities
V. Comments for CVE-2021-37634

No comments yet


Leave a comment