CVE-2026-28499
MEDIUM WAF: High
CVSS 6.1
Published: 2026-03-18
CWE-79
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.
WAF Coverage Analysis
Cross-Site Scripting (XSS)
High WAF Coverage
OWASP: A03:2021 Injection
941xxx - XSS / XXE
Affected Software
| Vendor | Product | Version |
|---|---|---|
| vapor | leafkit | up to 1.14.2 |
References
- github.com (Patch)
- github.com (Release Notes)
- github.com (Exploit, Vendor Advisory)