CVEvulnerability
CVE-2024-22199
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-01-11
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.3 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-116, CWE-20, CWE-79
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.
Affected configurations
• gofiber django (< 3.1.9)
Related
References
- https://github.com/gofiber/template/commit/28cff3ac4d4c117ab25b5396954676d624b6cb46 Patch
- https://github.com/gofiber/template/security/advisories/GHSA-4mq2-gc4j-cmw6 Mitigation, Vendor Advisory
- https://github.com/gofiber/template/commit/28cff3ac4d4c117ab25b5396954676d624b6cb46 Patch
- https://github.com/gofiber/template/security/advisories/GHSA-4mq2-gc4j-cmw6 Mitigation, Vendor Advisory