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
18 Mar 2026, 19:48
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.1 |
| First Time |
Vapor
Vapor leafkit |
|
| CPE | cpe:2.3:a:vapor:leafkit:*:*:*:*:*:*:*:* | |
| References | () https://github.com/vapor/leaf-kit/commit/6044b844caa858a0c5f2505ac166f5a057c990dc - Patch | |
| References | () https://github.com/vapor/leaf-kit/releases/tag/1.14.2 - Release Notes | |
| References | () https://github.com/vapor/leaf-kit/security/advisories/GHSA-6jj5-j4j8-8473 - Exploit, Vendor Advisory |
18 Mar 2026, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/vapor/leaf-kit/security/advisories/GHSA-6jj5-j4j8-8473 - |
18 Mar 2026, 14:52
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
18 Mar 2026, 02:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
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
