Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/kitabisa/teler-waf
  4. ›
  5. GMS-2023-513

GMS-2023-513: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

March 3, 2023 (updated March 10, 2023)

teler-waf is a Go HTTP middleware that provides teler IDS functionality to protect against web-based attacks. In teler-waf prior to version v0.2.0 is vulnerable to a bypass attack when a specific case-sensitive hex entities payload with special characters such as CR/LF and horizontal tab is used. This vulnerability allows an attacker to execute arbitrary JavaScript code on the victim’s browser and compromise the security of the web application. An attacker can exploit this vulnerability to bypass common web attack threat rules in teler-waf and launch cross-site scripting (XSS) attacks. The attacker can execute arbitrary JavaScript code on the victim’s browser and steal sensitive information, such as login credentials and session tokens, or take control of the victim’s browser and perform malicious actions. This issue has been patched in version 0.2.0.

References

  • github.com/advisories/GHSA-p2pf-g8cq-3gq5
  • github.com/dwisiswant0/cwa-filter-rules/commit/d818d1645832d1a02cd210c7680e692d2bf4313b
  • github.com/kitabisa/teler-waf/compare/v0.1.2...v0.2.0
  • github.com/kitabisa/teler-waf/releases/tag/v0.2.0
  • github.com/kitabisa/teler-waf/security/advisories/GHSA-p2pf-g8cq-3gq5

Code Behaviors & Features

Detect and mitigate GMS-2023-513 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 0.2.0

Fixed versions

  • v0.2.0

Solution

Upgrade to version 0.2.0 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-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/kitabisa/teler-waf/GMS-2023-513.yml

Spotted a mistake? Edit the file on GitLab.

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

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