← CVE Intelligence

CVE-2026-28499

LeafKit's HTML escaping may be skipped for Collection values, enabling XSS PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
vapor / leaf-kitaffected < 1.14.2

CWE

CWE-79, CWE-80, CWE-116

References

ADP enrichment

CISA-ADP

No English description supplied.