{"id":"CVE-2026-52796","published":"2026-06-24T20:13:11Z","modified":"2026-06-25T20:10:28Z","title":"Gogs: DoS in rendering issue index pattern","vendor":"gogs","product":"gogs","tier":"tail","description":{"text":"Gogs is an open source self-hosted Git service. Prior to 0.14.3, specially crafted issue index pattern can cause a panic when rendering, resulting in denial of service. In internal/markup/markup.go, RenderIssueIndexPattern renders the issue index pattern to a link using com.Expand, which is not safe: when the configured pattern contains an opening brace { but no closing brace }, strings.Index(template, \"}\") returns -1 and the subsequent slice template[:-1] triggers a panic. Once such a pattern is set, any page in the affected repository that contains an issue index reference such as #1 becomes unavailable. This vulnerability is fixed in 0.14.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.5,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00284,"percentile":0.13567,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-4j89-2c4f-44c6","tags":["x_refsource_CONFIRM"]}],"priority":{"score":5.2,"factors":[{"name":"EPSS percentile","points":2.71},{"name":"CVSS severity","points":2.45}]},"vendorSlug":"gogs","affectedVersions":[{"vendor":"gogs","product":"gogs","versions":["< 0.14.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-25T20:10:04.777866Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"gogs.io/gogs","vulnerableRanges":["<0.14.3","all versions"],"patched":["0.14.3"],"from":["GHSA-4j89-2c4f-44c6","GO-2026-5124"],"provenance":"source"}],"summary":{"text":"Gogs, the open source self-hosted Git service, contains a flaw in its issue index rendering (internal/markup/markup.go, RenderIssueIndexPattern), where a configured issue index pattern containing an opening brace without a matching closing brace causes a panic during rendering. An attacker who has low-privilege authenticated access and can get a user to interact with a page can set such a pattern, after which any page in the affected repository containing an issue reference like #1 fails and becomes unavailable.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:21Z"},"euvd":{"id":"EUVD-2026-39065","exploited":false,"provenance":"source"}}