CVE-2024-22199

MEDIUM EPSS 38.1%
Published Jan 11, 20242y ago · Modified Jun 17, 20262w ago
6.1 CVSS 3.1
Medium
Find Similar
Published Jan 11, 2024 2y ago
Last Modified Jun 17, 2026 2w ago

Description

This package provides universal methods to use multiple template engines with the Fiber web framework using the Views interface. This vulnerability specifically impacts web applications that render user-supplied data through this template engine, potentially leading to the execution of malicious scripts in users' browsers when visiting affected web pages. The vulnerability has been addressed, the template engine now defaults to having autoescape set to `true`, effectively mitigating the risk of XSS attacks.

CVSS Details

Base Score
6.1
Exploitability
2.8
Impact
2.7
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality Low
Integrity Low
Availability None

Threat Intelligence

EPSS Exploit Probability
38.1% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 3

CWE-116
CWE-20 Improper Input Validation Validation
CWE-79 Cross-site Scripting Injection

Affected Products 1

VendorProductVersionRange
gofiberdjango* <3.1.9

References 2

  • github.com https://github.com/gofiber/template/commit/28cff3ac4d4c117ab25b5396954676d624b6cb46
    Patch
  • github.com https://github.com/gofiber/template/security/advisories/GHSA-4mq2-gc4j-cmw6
    MitigationVendor Advisory

Remediation

  • github.com https://github.com/gofiber/template/commit/28cff3ac4d4c117ab25b5396954676d624b6cb46
    Patch