Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-37634

20
FAUCET Score

CVE-2021-37634 describes a Cross-site Scripting (XSS) vulnerability in Leafkit, a templating language, affecting versions prior to 1.3.0. This flaw allows attackers to inject malicious scripts into generated Leaf pages if unsanitized data is passed to variable tags, potentially leading to XSS attacks without other mitigations like a Content Security Policy. The vulnerability has a CVSS score of 6.1 (Medium), indicating a network-based attack with low complexity, requiring user interaction, and resulting in low impact to confidentiality and integrity. There is no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
< 1.3.0CPE matchmatch criteria
cpe:2.3:a:vapor:leafkit:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

7.4HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
NONE
Exploitability Score
2.8
Impact Score
4.0
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.71%
Probability of exploitation in next 30 days
EPSS Percentile
49.8%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0071 is in the 56th percentile among its peer group of 26,221 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (1)

swiftpatch availablevia ghsa
Product: github.com/vapor/leaf-kitFixed in: 1.3.0

Vendor Advisories (1)

swiftGHSA-rv3x-xq3r-8j9hmedium

LeafKit allows XSS with untrusted user input

Jun 9, 2023

References

github.com / vapor/leaf-kit-ghsa-rv3x-xq3r-8j9h/pull/1
Broken Link
github.com / vapor/leaf-kit/security/advisories/GHSA-rv3x-xq3r-8j9h
Third Party Advisory