CVE-2026-28499

Source
https://cve.org/CVERecord?id=CVE-2026-28499
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-28499.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-28499
Aliases
Published
2026-03-18T01:19:36Z
Modified
2026-10-21T02:56:37Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
LeafKit's HTML escaping may be skipped for Collection values, enabling XSS
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-116",
        "CWE-79",
        "CWE-80"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28499.json"
}
References

Affected packages

Git / github.com/vapor/leaf-kit

Affected ranges

Type
GIT
Repo
https://github.com/vapor/leaf-kit
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1.14.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "6044b844caa858a0c5f2505ac166f5a057c990dc"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "1.14.2",
            "range":  [
                {
                    "fixed":  "6044b844caa858a0c5f2505ac166f5a057c990dc"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "cpe":  "cpe:2.3:a:vapor:leafkit:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1.14.2"
                }
            ],
            "source":  "CPE_RANGE"
        }
    ]
}

Affected versions

1.*
1.0.0
1.0.0-alpha.1
1.0.0-beta.2
1.0.0-beta.2.1
1.0.0-beta.2.2
1.0.0-rc.1
1.0.0-rc.1.1
1.0.0-rc.1.10
1.0.0-rc.1.11
1.0.0-rc.1.12
1.0.0-rc.1.13
1.0.0-rc.1.14
1.0.0-rc.1.15
1.0.0-rc.1.16
1.0.0-rc.1.17
1.0.0-rc.1.2
1.0.0-rc.1.3
1.0.0-rc.1.4
1.0.0-rc.1.5
1.0.0-rc.1.6
1.0.0-rc.1.7
1.0.0-rc.1.8
1.0.0-rc.1.9
1.0.0-tau.1
1.0.0-tau.1.1
1.0.0-zeta.1
1.1.0
1.10.0
1.10.1
1.10.2
1.10.3
1.10.4
1.10.5
1.10.6
1.11.0
1.11.1
1.12.0
1.13.0
1.13.1
1.14.0
1.14.1
1.2.0
1.3.0
1.3.1
1.4.0
1.5.0
1.6.0
1.7.0
1.8.0
1.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-28499.json"