← Database

CVE-2026-28499

MEDIUM CVSS: 6.1 Published: 2026-03-18 Modified: 2026-06-17

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 Platforms

Vapor Leafkit

Weakness Type

CWE-79, CWE-80, CWE-116

References