CVE-2026-28499
LeafKit is a templating language with Swift-inspired syntax. Prior …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/vapor/leaf-kit/commit/6044b844caa858a0c5f2505ac166f5a057c990dc
- github.com/vapor/leaf-kit/releases/tag/1.14.2
- github.com/vapor/leaf-kit/security/advisories/GHSA-6jj5-j4j8-8473
- nvd.nist.gov/vuln/detail/CVE-2026-28499
- github.com/advisories/GHSA-6jj5-j4j8-8473
- nvd.nist.gov/vuln/detail/CVE-2026-28499
- cve.org/CVERecord?id=CVE-2026-28499
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.