Skip to content
CVE PROGRAM SOURCE RECORD6.9 Medium

CVE-2026-28499

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

vapor leaf-kit

  • < 1.14.2affected

References