CVE-2024-22199 json
Django Template Engine Vulnerable to XSS
published 2y ago modified 2mo ago also GHSA-4mq2-gc4j-cmw6 , GO-2024-2461 , EUVD-2024-0250
- cvss
- 9.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/gofiber/template/django/v3 3.1.9
- gofiber django 3.1.9
Is CVE-2024-22199 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.48% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/gofiber/template/django/v3 | <3.1.9 |
3.1.9 |
Affected products
- gofiber template
Classification
References
-
github.com
/gofiber/template/commit/28cff3ac4d4c117ab25b5396954676d624b6cb46
web, patch
-
github.com
/gofiber/template/security/advisories/GHSA-4mq2-gc4j-cmw6
web, mitigation, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-22199
advisory
-
github.com
/gofiber/template
package
Sources
- CVE List CVE-2024-22199
- GitHub Advisory GHSA-4mq2-gc4j-cmw6
- NVD CVE-2024-22199
- OSV GO-2024-2461
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.