CVE Explorer
CVE-2026-28499
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:24106e3e06ecff4452870db5a6aefdc8a2aa0ede0528c9635f8a577eeb1f9244 · sha256:d8ba2ca1293d0b67… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-80","description":"CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:24106e3e06ecff4452870db5a6aefdc8a2aa0ede0528c9635f8a577eeb1f9244 · sha256:d8ba2ca1293d0b67… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-116","description":"CWE-116: Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:24106e3e06ecff4452870db5a6aefdc8a2aa0ede0528c9635f8a577eeb1f9244 · sha256:d8ba2ca1293d0b67… · /containers/cna/problemTypes/2/descriptions/0
Affected products and versions
1 source assertion{"product":"leaf-kit","vendor":"vapor","versions":[{"status":"affected","version":"< 1.14.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:24106e3e06ecff4452870db5a6aefdc8a2aa0ede0528c9635f8a577eeb1f9244 · sha256:d8ba2ca1293d0b67… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:24106e3e06ecff4452870db5a6aefdc8a2aa0ede0528c9635f8a577eeb1f9244 · sha256:d8ba2ca1293d0b67… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
3 source assertions{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:24106e3e06ecff4452870db5a6aefdc8a2aa0ede0528c9635f8a577eeb1f9244 · sha256:d8ba2ca1293d0b67… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-80","description":"CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:24106e3e06ecff4452870db5a6aefdc8a2aa0ede0528c9635f8a577eeb1f9244 · sha256:d8ba2ca1293d0b67… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-116","description":"CWE-116: Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:24106e3e06ecff4452870db5a6aefdc8a2aa0ede0528c9635f8a577eeb1f9244 · sha256:d8ba2ca1293d0b67… · /containers/cna/problemTypes/2/descriptions/0
Source references
4 source assertions{"name":"https://github.com/vapor/leaf-kit/commit/6044b844caa858a0c5f2505ac166f5a057c990dc","tags":["x_refsource_MISC"],"url":"https://github.com/vapor/leaf-kit/commit/6044b844caa858a0c5f2505ac166f5a057c990dc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:24106e3e06ecff4452870db5a6aefdc8a2aa0ede0528c9635f8a577eeb1f9244 · sha256:d8ba2ca1293d0b67… · /containers/cna/references/1
{"name":"https://github.com/vapor/leaf-kit/releases/tag/1.14.2","tags":["x_refsource_MISC"],"url":"https://github.com/vapor/leaf-kit/releases/tag/1.14.2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:24106e3e06ecff4452870db5a6aefdc8a2aa0ede0528c9635f8a577eeb1f9244 · sha256:d8ba2ca1293d0b67… · /containers/cna/references/2
{"tags":["exploit"],"url":"https://github.com/vapor/leaf-kit/security/advisories/GHSA-6jj5-j4j8-8473"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:24106e3e06ecff4452870db5a6aefdc8a2aa0ede0528c9635f8a577eeb1f9244 · sha256:d8ba2ca1293d0b67… · /containers/adp/0/references/0
{"name":"https://github.com/vapor/leaf-kit/security/advisories/GHSA-6jj5-j4j8-8473","tags":["x_refsource_CONFIRM"],"url":"https://github.com/vapor/leaf-kit/security/advisories/GHSA-6jj5-j4j8-8473"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:24106e3e06ecff4452870db5a6aefdc8a2aa0ede0528c9635f8a577eeb1f9244 · sha256:d8ba2ca1293d0b67… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.