CVE-2026-28499
MEDIUMLeafKit's HTML escaping may be skipped for Collection values, enabling XSS
Title source: cnaDescription
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.
References (3)
Scores
CVSS v3
6.1
EPSS
0.0001
EPSS Percentile
1.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Details
CWE
CWE-116
CWE-80
CWE-79
Status
published
Products (3)
SwiftURL/leaf-kit
0 - 1.14.2SwiftURL
vapor/leaf-kit
< 1.14.2
vapor/leafkit
< 1.14.2
Published
Mar 18, 2026
Tracked Since
Mar 18, 2026