CVE-2024-22199

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gofiber:django:*:*:*:*:*:go:*:*

History

18 Jan 2024, 16:54

Type Values Removed Values Added
References () https://github.com/gofiber/template/commit/28cff3ac4d4c117ab25b5396954676d624b6cb46 - () https://github.com/gofiber/template/commit/28cff3ac4d4c117ab25b5396954676d624b6cb46 - Patch
References () https://github.com/gofiber/template/security/advisories/GHSA-4mq2-gc4j-cmw6 - () https://github.com/gofiber/template/security/advisories/GHSA-4mq2-gc4j-cmw6 - Mitigation, Vendor Advisory
CPE cpe:2.3:a:gofiber:django:*:*:*:*:*:go:*:*
CVSS v2 : unknown
v3 : 9.3
v2 : unknown
v3 : 6.1
First Time Gofiber
Gofiber django

12 Jan 2024, 13:47

Type Values Removed Values Added
Summary
  • (es) Este paquete proporciona métodos universales para usar múltiples motores de plantillas con el framework web de Fiber mediante la interfaz de Views. Esta vulnerabilidad afecta específicamente a las aplicaciones web que procesan datos proporcionados por el usuario a través de este motor de plantillas, lo que podría provocar la ejecución de scripts maliciosos en los navegadores de los usuarios cuando visitan las páginas web afectadas. La vulnerabilidad se ha abordado, el motor de plantillas ahora tiene de forma predeterminada el escape automático configurado en "true", mitigando efectivamente el riesgo de ataques XSS.

11 Jan 2024, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-01-11 18:15

Updated : 2024-01-18 16:54


NVD link : CVE-2024-22199

Mitre link : CVE-2024-22199

CVE.ORG link : CVE-2024-22199


JSON object : View

Products Affected

gofiber

  • django
CWE
CWE-116

Improper Encoding or Escaping of Output

CWE-20

Improper Input Validation

CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')