Description (CNA)
LeafKit is a templating language with Swift-inspired syntax. Prior to version 1.14.2, HTML escaping doesn't work correctly when a template prints a collection (Array / Dictionary) via `#(value)`. This can result in XSS, allowing potentially untrusted input to be rendered unescaped. Version 1.14.2 fixes the issue.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| vapor / leaf-kit | affected < 1.14.2 |
CWE
CWE-79, CWE-80, CWE-116
References
- https://github.com/vapor/leaf-kit/security/advisories/GHSA-6jj5-j4j8-8473
- https://github.com/vapor/leaf-kit/commit/6044b844caa858a0c5f2505ac166f5a057c990dc
- https://github.com/vapor/leaf-kit/releases/tag/1.14.2
ADP enrichment
No English description supplied.