CVE-2024-22199
MEDIUM 6.1CVSS 3.1Django Template Engine Vulnerable to XSS
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.
- Published
- 11 Jan 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-116CWE-20CWE-79
- Also known as
- GHSA-4mq2-gc4j-cmw6GO-2024-2461
- Sources
- NVDJSONOSV GHSA-4mq2-gc4j-cmw6JSONOSV GO-2024-2461JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gofiber | djangocpe:2.3:a:gofiber:django:*:*:*:*:*:go:*:* |
< 3.1.9 | 3.1.9 |
| OSV | Go | github.com/gofiber/template/django/v3 | < 3.1.9 | 3.1.9 |
References
- https://github.com/gofiber/template/commit/28cff3ac4d4c117ab25b5396954676d624b6cb46 · Patch, WEB, FIX
- https://github.com/gofiber/template/security/advisories/GHSA-4mq2-gc4j-cmw6 · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-22199 · ADVISORY
- https://github.com/gofiber/template · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 11 Jan 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Jan 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Jan 2024)