Paper/Archive/CVE-2024-22199

CVE-2024-22199

gofiber template — Django Template Engine Vulnerable to XSS

Description · from the CVE record

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

ProductAffectedFixed inSource
template< 3.1.9–CNA

Scores by source

GitHub_M (CNA)9.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: partial

References

refgithub.com/gofiber/template/security/advisories/GHSA-4mq2-gc4j-cmw6refgithub.com/gofiber/template/commit/28cff3ac4d4c117ab25b5396954676d624b6cb46