CVEvulnerability
CVE-2026-28499
6.9 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-03-18
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 6.9 MEDIUM — CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-116, CWE-79, CWE-80
Description
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.
Affected configurations
• vapor leafkit (< 1.14.2)
Related
References
- 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