CVE-2026-28499

MEDIUM EPSS 17.8%
Published Mar 18, 20263mo ago · Modified Jun 17, 20262w ago
6.9 CVSS 4.0
Medium
Find Similar
Published Mar 18, 2026 3mo ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
6.9
Exploitability
Impact
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
17.8% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 3

CWE-116
CWE-79 Cross-site Scripting Injection
CWE-80

Affected Products 1

VendorProductVersionRange
vaporleafkit* <1.14.2

References 3

  • github.com https://github.com/vapor/leaf-kit/commit/6044b844caa858a0c5f2505ac166f5a057c990dc
    Patch
  • github.com https://github.com/vapor/leaf-kit/releases/tag/1.14.2
    Release Notes
  • github.com https://github.com/vapor/leaf-kit/security/advisories/GHSA-6jj5-j4j8-8473
    ExploitVendor Advisory

Remediation

  • github.com https://github.com/vapor/leaf-kit/commit/6044b844caa858a0c5f2505ac166f5a057c990dc
    Patch