Loading advisory.
Loading advisory.
Gogs has DoS in rendering issue index pattern
Special template of issue index pattern may cause panic.
Published 2026-06-22 23:58 UTC · Modified 2026-07-21 13:30 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| gogs.io/gogs | Go | < 0.14.3 all versions | 0.14.3 | go get gogs.io/gogs@v0.14.3 |
Special template of issue index pattern may cause panic.
in internal/markup/markup.go
link = fmt.Sprintf(`<a href="%s">%s</a>`, com.Expand(metas["format"], metas), m)Issue index pattern is rendered to link with com.Expand.
However, com.Expand is not safe.
i = strings.Index(template, "}")
if s, ok := match[template[:i]]; ok {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.
set issue index pattern as follow
add a commit which point to an issue in its msg
using #1 above
DoS that cause part of pages of the specify repo unavailable.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.003 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |