CVE-2021-37634: high-severity vulnerability in vapor leaf-kit
LeafKit allows XSS with untrusted user input
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
LeafKit's templating engine didn't escape user input in variable tags before version 1.3.0, allowing attackers to inject malicious scripts into web pages. If a website displays untrusted user data through LeafKit without proper sanitization, visitors could be tricked into running attacker-controlled code in their browsers.
Cross-site Scripting (XSS) vulnerability in LeafKit < 1.3.0 where variable tags fail to escape user-supplied input, enabling script injection into rendered HTML. Attack vector requires an application to pass unsanitized user data to Leaf templates; impact includes session hijacking, credential theft, and malware distribution if Content Security Policy is not enforced.
In the same product, most dangerous first.