Read the docs
TI-2024-14792 Aliases CVE-2024-22199GHSA-4mq2-gc4j-cmw6

Django Template Engine Vulnerable to XSS

Priority MEDIUM 47CWE-116Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00484 41st percentileScored 2026-11-07
Fix Fixed template (gofiber): 3.1.9github.com/gofiber/template/django/v3 (Go): 3.1.9

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

VendorProductAffected versionsFixed inStatusSource
gofibertemplatebefore 3.1.93.1.9Patch availableCNA
—github.com/gofiber/template/django/v3 (Go)before 3.1.93.1.9Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gofiber:django:*:*:*:*:*:go:*:*before 3.1.9Vulnerablegofiber
  • cpe:2.3:a:gofiber:django:*:*:*:*:*:go:*:* Versions before 3.1.9 Vulnerable ·gofiber

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

  1. 2026-10-02 Threatist record created from CVE-2024-22199
  2. 2026-10-03 Alias added: GHSA-4mq2-gc4j-cmw6

References

Sources