Django Template Engine Vulnerable to XSS
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| gofiber | template | before 3.1.9 | 3.1.9 | Patch available | CNA |
| — | github.com/gofiber/template/django/v3 (Go) | before 3.1.9 | 3.1.9 | Patch available | GHSA-4mq2-gc4j-cmw6 |
- template Vendorgofiber Affected before 3.1.9 Fixed in 3.1.9 Patch available CNA
- github.com/gofiber/template/django/v3 (Go) Vendor— Affected before 3.1.9 Fixed in 3.1.9 Patch available GHSA-4mq2-gc4j-cmw6
Remediation
- Fix · CNA template (gofiber) Fixed in 3.1.9
- Fix · GHSA-4mq2-gc4j-cmw6 github.com/gofiber/template/django/v3 (Go) Fixed in 3.1.9 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-22199
- 2026-10-03 Alias added: GHSA-4mq2-gc4j-cmw6
References
Sources
- CVE-2024-22199 · CVE Program
- CVE-2024-22199 · NVD
- FIRST EPSS
- GHSA-4mq2-gc4j-cmw6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences