Improper Neutralization of Special Elements Used in a Template Engine Affecting gogs.io/gogs/internal/markup package, versions <0.14.3-rc.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GOGSIOGOGSINTERNALMARKUP-17756806
  • published7 Jul 2026
  • disclosed24 Jun 2026
  • creditUnknown

Introduced: 24 Jun 2026

CVE-2026-52796  (opens in a new tab)
CWE-1336  (opens in a new tab)

How to fix?

Upgrade gogs.io/gogs/internal/markup to version 0.14.3-rc.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine in the RenderIssueIndexPattern process. An attacker can cause a panic and disrupt service availability by configuring a specially crafted issue index pattern containing an opening brace without a closing brace, which leads to a runtime error when rendering affected pages.

CVSS Base Scores

version 4.0
version 3.1