CVE-2024-22199Gofiber Django
Medium 6.1 No auth needed
Follow: this CVE · Gofiber · Gofiber Django We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 49
- Auth required
- No
- Published
- Jan 11, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Django.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/gofiber/template/django/v3 |
< 3.1.9 |
3.1.9 |
go get github.com/gofiber/template/django/v3@v3.1.9 |
| Go | github.com/gofiber/template/django/v3 |
< 3.1.9 |
3.1.9 |
go get github.com/gofiber/template/django/v3@v3.1.9 |
Per OSV / GitHub Advisories (GHSA-4mq2-gc4j-cmw6, GO-2024-2461). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gofiber | django | < 3.1.9 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Mitigation Vendor Advisory