CVE-2026-28499
LeafKit's HTML escaping may be skipped for Collection values, enabling XSS
6.1CVSSMEDIUM
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.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:NPrivileges RequiredNone
UI:RUser InteractionRequired
Scope
S:CScopeChanged
Impact
C:LConfidentialityLow
I:LIntegrityLow
A:NAvailabilityNone
Weaknesses
Affected Products
swifturlOSS Librariesaka swift-nio-http2, github.com/vapor/vapor, github.com/pytorch/executorch, swift-nio-http2, github.com/apple/swift-nio-http2
Attack Graph
Products CVE Techniques Tactics
Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.
Exploitability
Official Patch Available
MITRE ATT&CK
2 techniques Execution
Initial Access
References
https://github.com/vapor/leaf-kit/commit/6044b844caa858a0c5f2505ac166f5a057c990dc
github.com
https://github.com/vapor/leaf-kit/releases/tag/1.14.2
github.com
https://github.com/vapor/leaf-kit/security/advisories/GHSA-6jj5-j4j8-8473
github.com
and 2 more references View all →
Timeline
Published
Mar 18, 2026
Last Updated
Mar 18, 2026
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2026-28499 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows