Skip to content
Connect AISign inSign up free
CVE-2021-376347.4HighCWE-79

CVE-2021-37634: LeafKit allows XSS with untrusted user input

vapor · leaf-kit

Affected: vapor leaf-kit · Exploitation: unlikely (under 1%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

0.7%probability of exploitation in the next 30 days
54th percentile
050100

Higher than 54% of scored CVEs

7.4HighCVSS 3.1
LowHigh

DescriptionCVE.org

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.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • vapor · leaf-kit< 1.3.0

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Unlikely (under 1%). EPSS under 1%, or no score yet.
CISA KEV
Not listed
Public check
No public nuclei template
Vendor
vapor
Published
August 2021

CoverageNo articles yet

No CyberSIXT article names CVE-2021-37634 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References