Approved changes feed: RSS · Atom
cpe:2.3:a:vapor:leafkit:*:*:*:*:*:*:*:*
part: a version: * update: *
| Vendor | Vapor (2988aa33-ebae-55d9-9513-bcc3db2a6bb1) |
|---|---|
| Product | Leafkit (1cc4a15d-5f24-5c36-a802-08afbbb3bead) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
| Notes | Imported from purl2cpe mapping |
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
pkg:github/vapor/leaf-kit |
purl2cpe | 2026-06-01 10:14:19.150876 |
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2026-28499 |
vulnerable | 2026-06-08 07:55:15.371194 |
LeafKit's HTML escaping may be skipped for Collection values, enabling XSS
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.
Published: 2026-03-18T01:19:36.122Z
Updated: 2026-03-18T14:08:06.611Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-27120 |
vulnerable | 2026-06-08 07:53:21.941434 |
Leaf-kit html escaping does not work on characters that are part of extended grapheme cluster
MEDIUM (6.1)
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.
Published: 2026-02-20T21:27:09.642Z
Updated: 2026-02-24T18:41:10.070Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2021-37634 |
vulnerable | 2026-06-08 05:32:54.526581 |
LeafKit allows XSS with untrusted user input
HIGH (7.4)
Leafkit is a templating language with Swift-inspired syntax. Versions prior to 1.3.0 are susceptible to Cross-site Scripting (XSS) attacks. This affects anyone passing unsanitised data to Leaf's variable tags. Before this fix, Leaf would not escape any strings passed to tags as variables. If an attacker managed to find a variable that was rendered with their unsanitised data, they could inject scripts into a generated Leaf page, which could enable XSS attacks if other mitigations such as a Content Security Policy were not enabled. This has been patched in 1.3.0. As a workaround sanitize any untrusted input before passing it to Leaf and enable a CSP to block inline script and CSS data.
Published: 2021-08-09T19:45:13.000Z
Updated: 2024-08-04T01:23:01.289Z |
Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.