CVE-2024-22199
CRITICALgofiber/template < 3.1.9 - Cross-Site Scripting via Autoescape Bypass
Title source: llmDescription
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.
References (2)
Core 2
Core References
Mitigation, Vendor Advisory x_refsource_confirm
https://github.com/gofiber/template/security/advisories/GHSA-4mq2-gc4j-cmw6
Scores
CVSS v3
9.3
EPSS
0.0048
EPSS Percentile
37.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-20
CWE-79
CWE-116
Status
published
Products (2)
gofiber/django
< 3.1.9
gofiber/template
0 - 3.1.9Go
Published
Jan 11, 2024
Tracked Since
Feb 18, 2026