CVE-2026-27120
Swift vulnerability analysis and mitigation

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.


SourceNVD

Related Swift vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-20613HIGH7.8
  • SwiftSwift
  • container
NoYesJan 23, 2026
CVE-2026-28815HIGH7.5
  • SwiftSwift
  • swift-crypto
NoYesApr 03, 2026
CVE-2026-28499MEDIUM6.9
  • SwiftSwift
  • leaf-kit
NoYesMar 18, 2026
CVE-2026-30867MEDIUM6.5
  • SwiftSwift
  • CocoaMQTT
NoYesApr 02, 2026
CVE-2026-27120MEDIUM6.1
  • SwiftSwift
  • leaf-kit
NoYesFeb 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management