---
title: "CVE-2024-22199: Django Template Engine Vulnerable to XSS"
url: https://erroneo.us/security/cve/CVE-2024-22199/
description: "CVE-2024-22199 (github.com/gofiber/template/django/v3 (Go)): This package provides universal methods to use multiple template engines with the Fiber web…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-01-11
date_modified: 2024-11-14
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-22199"
kev: false
cvss: 9.3
epss: 0.00484
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2024-22199: Django Template Engine Vulnerable to XSS

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.5% , percentile 41: FIRST’s model estimates a 0.5% chance of exploitation activity in the next 30 days, higher than 41% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes github.com/gofiber/template/django/v3 (Go) < 3.1.9, fixed in 3.1.9 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- Go `github.com/gofiber/template/django/v3` < 3.1.9 → fixed: 3.1.9

## Affected products (CVE record)

- gofiber template: < 3.1.9

## Severity

- GitHub_M CVSS 3.1: 9.3 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N`
- GitHub CVSS 3.1: 9.3 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact partial .
- FIRST EPSS (model of 2026-10-21): 0.48% probability of exploitation activity in the next 30 days; percentile 41.

## Sources

- [GitHub Advisory GHSA-4mq2-gc4j-cmw6](https://github.com/advisories/GHSA-4mq2-gc4j-cmw6)
- [CVE.org record CVE-2024-22199](https://www.cve.org/CVERecord?id=CVE-2024-22199)
- [NVD entry CVE-2024-22199](https://nvd.nist.gov/vuln/detail/CVE-2024-22199)
- [github.com](https://github.com/gofiber/template/security/advisories/GHSA-4mq2-gc4j-cmw6)
- [github.com](https://github.com/gofiber/template/commit/28cff3ac4d4c117ab25b5396954676d624b6cb46)

---
Source page: https://erroneo.us/security/cve/CVE-2024-22199/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
