All vulnerabilities

Servers and applications

CVE-2026-52796

DoS in rendering issue index pattern

Severity
Low 3.5
Published
19 Jun 2026
Last changed
19 Jun 2026
Added to UpHeron
3 Nov 2026
Fixed in
0.14.3
Exploit chance
0.3% in the next 30 daysHigher than 21% of CVEs. EPSS by FIRST, 18 Nov 2026
Attack
Over the network · Needs a user account · Needs someone to click or open something
Attacker can
Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Also known as
GHSA-4j89-2c4f-44c6
Sources
Project advisories (GitHub)

Description

special template of issue index pattern cause panic

in internal/markup/markup.go

issue index pattern is rendered to link with com.Expand.

However, com.Expand is not safe.

when { is found but } not found, i comes to 1, template[:-1] will be called, and then panicked

finally, all pages than contains issue index are unavailable.

DoS that cause part of pages of the specify repo unavailable.

From gogs/gogs's security advisory.

Affected software

SoftwareAffected versions
GogsServers and applications · github:gogs/gogs
  • Every version before 0.14.3

About Gogs

free forge based on Git written in Go

From Wikidata, CC0 1.0.
Docker Hub pulls
94,040,857Docker Hub, 15 Nov 2026
GitHub stars
47,939GitHub, 15 Nov 2026
Forks
5,082GitHub, 15 Nov 2026
Latest release
v0.14.4GitHub, 15 Nov 2026
Released
12 Nov 2026GitHub
Developer
FLOSS contributorWikidata
License
Expat licenseWikidata
Written in
Go, Cascading Style Sheets, JavaScriptWikidata
First released
11 Feb 2014Wikidata
First published on GitHub
12 Feb 2014GitHub

References