Skip to content

CVE-2024-22199 Django Template Engine Vulnerable to XSS

MediumCVSS 6.1 EPSS 0.48%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
gofiber github.com/gofiber/template/django/v3 < 3.1.9 3.1.9 Fixed
gofiber github.com/gofiber/template/django/v3(Go) < 3.1.9 3.1.9 Fixed
gofiber template = < 3.1.9 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
gofiber github.com/gofiber/template/django/v3(Go) < 3.1.9 3.1.9
gofiber template = < 3.1.9 No fix listed
gofiber github.com/gofiber/template/django/v3 < 3.1.9 3.1.9

References