Django Template Engine Vulnerable to XSS
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/gofiber/template/django/v3Go | < 3.1.9 | 3.1.9 |
Affected products
2- gofiber/templatev5Range: < 3.1.9
Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
4- github.com/advisories/GHSA-4mq2-gc4j-cmw6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-22199ghsaADVISORY
- github.com/gofiber/template/commit/28cff3ac4d4c117ab25b5396954676d624b6cb46ghsax_refsource_MISCWEB
- github.com/gofiber/template/security/advisories/GHSA-4mq2-gc4j-cmw6ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.