
Cloud Vulnerability DB
A community-led vulnerabilities database
The vulnerability (CVE-2024-22199) affects the Django template engine for Fiber prior to version 3.1.9. This security issue 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 (GitHub Advisory).
The vulnerability is classified as a Cross-Site Scripting (XSS) issue, with a CVSS v3.1 base score of 9.3 CRITICAL (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N). The core issue was that the template engine did not have autoescaping enabled by default, which could allow malicious scripts to be executed in users' browsers. The vulnerability is associated with multiple CWE classifications including CWE-79 (Improper Neutralization of Input During Web Page Generation), CWE-20 (Improper Input Validation), and CWE-116 (Improper Encoding or Escaping of Output) (GitHub Advisory).
The vulnerability could allow attackers to execute malicious scripts in users' browsers when visiting affected web pages that render user-supplied data through the template engine. This could potentially lead to theft of sensitive information, session hijacking, or other client-side attacks (GitHub Advisory).
The vulnerability has been patched in version 3.1.9 and later, where the template engine now defaults to having autoescape set to true. For users unable to upgrade immediately, a workaround involves manually implementing autoescaping within individual Django templates using specific tags: {% autoescape on %} {{ content }} {% endautoescape %}. Users are strongly advised to upgrade to the latest version of the Django template engine for Fiber (GitHub Advisory, GitHub Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."