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.
History

Wed, 18 Mar 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 18 Mar 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Vapor
Vapor leafkit
Vendors & Products Vapor
Vapor leafkit

Wed, 18 Mar 2026 01:30:00 +0000

Type Values Removed Values Added
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.
Title LeafKit's HTML escaping may be skipped for Collection values, enabling XSS
Weaknesses CWE-116
CWE-79
CWE-80
References
Metrics cvssV4_0

{'score': 6.9, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2026-03-18T01:19:36.122Z

Updated: 2026-03-18T14:08:06.611Z

Reserved: 2026-02-27T20:57:47.708Z

Link: CVE-2026-28499

cve-icon Vulnrichment

Updated: 2026-03-18T14:07:53.751Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-03-18T02:16:24.060

Modified: 2026-03-18T15:16:29.280

Link: CVE-2026-28499

cve-icon Redhat

No data.