Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/gofiber/template/django/v3
  4. ›
  5. CVE-2024-22199

CVE-2024-22199: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

January 11, 2024

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.

References

  • github.com/advisories/GHSA-4mq2-gc4j-cmw6
  • github.com/gofiber/template/commit/28cff3ac4d4c117ab25b5396954676d624b6cb46
  • github.com/gofiber/template/security/advisories/GHSA-4mq2-gc4j-cmw6
  • nvd.nist.gov/vuln/detail/CVE-2024-22199

Code Behaviors & Features

Detect and mitigate CVE-2024-22199 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.1.9

Fixed versions

  • v3.1.9

Solution

Upgrade to version 3.1.9 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output
  • CWE-20: Improper Input Validation
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/gofiber/template/django/v3/CVE-2024-22199.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:36 +0000.