{"id":"CVE-2024-22199","published":"2024-01-11T17:39:45Z","modified":"2024-11-14T14:45:58Z","title":"Django Template Engine Vulnerable to XSS","vendor":"gofiber","product":"template","tier":"tail","description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00708,"percentile":0.49088,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/gofiber/template/security/advisories/GHSA-4mq2-gc4j-cmw6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gofiber/template/commit/28cff3ac4d4c117ab25b5396954676d624b6cb46","tags":["x_refsource_MISC"]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":9.82},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"gofiber","affectedVersions":[{"vendor":"gofiber","product":"template","versions":["< 3.1.9"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-11-14T14:45:35.643060Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/gofiber/template/django/v3","vulnerableRanges":["<3.1.9"],"patched":["3.1.9"],"from":["GHSA-4mq2-gc4j-cmw6","GO-2024-2461"],"provenance":"source"}],"summary":{"text":"The Django template engine in gofiber's template package, a multi-engine rendering layer for the Fiber web framework, fails to properly escape user-supplied data rendered through it. An unauthenticated remote attacker who can get crafted input rendered in an application's pages, with no user interaction required, can inject malicious scripts that execute in the browsers of users who visit the affected pages, with a limited confidentiality impact and a high integrity impact but no availability impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:05Z"},"euvd":{"id":"EUVD-2024-0250","exploited":false,"provenance":"source"}}