CVE-2026-28499
LeafKit's HTML escaping may be skipped for Collection values, enabling XSS
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-79 CWE-80 CWE-116 |
| Vendor | vapor |
| Product | leaf-kit |
| Published | Mar 18, 2026 |
| Last Updated | Mar 18, 2026 |
Stay Ahead of the Next One
Get instant alerts for vapor leaf-kit
Be the first to know when new unknown vulnerabilities affecting vapor leaf-kit are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
vapor / leaf-kit
< 1.14.2