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
| Link | Resource |
|---|---|
| https://github.com/vapor/leaf-kit/commit/6044b844caa858a0c5f2505ac166f5a057c990dc | Patch |
| https://github.com/vapor/leaf-kit/releases/tag/1.14.2 | Release Notes |
| https://github.com/vapor/leaf-kit/security/advisories/GHSA-6jj5-j4j8-8473 | Exploit Vendor Advisory |
| https://github.com/vapor/leaf-kit/security/advisories/GHSA-6jj5-j4j8-8473 | Exploit Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-03-18 02:16
Updated : 2026-03-18 19:48
NVD link : CVE-2026-28499
Mitre link : CVE-2026-28499
CVE.ORG link : CVE-2026-28499
JSON object : View
Products Affected
vapor
- leafkit
