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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-116",
"CWE-79",
"CWE-80"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28499.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.14.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "6044b844caa858a0c5f2505ac166f5a057c990dc"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "1.14.2",
"range": [
{
"fixed": "6044b844caa858a0c5f2505ac166f5a057c990dc"
}
],
"source": "REFERENCES_TAG"
},
{
"cpe": "cpe:2.3:a:vapor:leafkit:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.14.2"
}
],
"source": "CPE_RANGE"
}
]
}