CVE-2026-27120
Medium · 6.1CVSS
6.1
EPSS
0.3%
Published
Feb 20, 2026
CISA due date
—
The record
Leafkit is a templating language with Swift-inspired syntax. Prior to 1.4.1, htmlEscaped in leaf-kit will only escape html special characters if the extended grapheme clusters match, which allows bypassing escaping by using an extended grapheme cluster containing both the special html character and some additional characters. In the case of html attributes, this can lead to XSS if there is a leaf variable in the attribute that is user controlled. This vulnerability is fixed in 1.4.1.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| SwiftURL | leaf-kit | 0 | 1.4.1 |
Related vulnerabilities
- GHSA-4hfh-fch3-5q7p Leaf-kit html escaping does not work on characters that are part of extended grapheme… Same vulnerability
- CVE-2026-54771 Langroid is a framework for building large-language-model-powered applications. CWE-75
- CVE-2026-31908 Header injection vulnerability in Apache APISIX. CWE-75
- CVE-2026-29042 Nuclio is a "Serverless" framework for Real-Time Events and Data Processing. CWE-75
- CVE-2024-21503 Versions of the package black before 24.3.0 are vulnerable to Regular Expression Denial… CWE-75
- CVE-2024-0801 A denial of service vulnerability exists in Arcserve Unified Data Protection 9.2 and 8.1… CWE-75
- CVE-2026-96379 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79
- CVE-2026-96382 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79