CVE-2026-28499
Last modified
CVE-2026-28499 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. 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)`. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vapor | Leafkit | < 1.14.2 |
References
- https://github.com/vapor/leaf-kit/security/advisories/GHSA-6jj5-j4j8-8473Exploit, Vendor Advisory
- https://github.com/vapor/leaf-kit/security/advisories/GHSA-6jj5-j4j8-8473Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-28499?
How severe is CVE-2026-28499?
How do I fix CVE-2026-28499?
Are you affected by CVE-2026-28499?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
