← Back to CVEs
CVE-2026-28499
MEDIUM6.1
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.
CVE Details
CVSS v3.1 Score6.1
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionREQUIRED
Published3/18/2026
Last Modified3/18/2026
Sourcenvd
Honeypot Sightings0
Affected Products
vapor:leafkit
Weaknesses (CWE)
CWE-79CWE-80CWE-116
References
https://github.com/vapor/leaf-kit/commit/6044b844caa858a0c5f2505ac166f5a057c990dc(security-advisories@github.com)
https://github.com/vapor/leaf-kit/releases/tag/1.14.2(security-advisories@github.com)
https://github.com/vapor/leaf-kit/security/advisories/GHSA-6jj5-j4j8-8473(security-advisories@github.com)
https://github.com/vapor/leaf-kit/security/advisories/GHSA-6jj5-j4j8-8473(134c704f-9b21-4f2e-91b3-4a467353bcc0)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.