{"id":"EUVD-2026-39075","enisaUuid":"a765ac0b-efb0-34b1-bcd7-8dea53337f5a","description":"Gogs is an open source self-hosted Git service. Prior to 0.14.3, in new_form.tmpl, milestone names are rendered with Go\u0027s default auto-escaping ({{.Name}}), which converts \u003c to \u0026lt; etc. This prevents direct HTML injection. However, when the browser renders the DOM, the text content of the element contains the decoded original payload. Semantic UI 2.4.2\u0027s dropdown component has preserveHTML: true as the default setting. When a user selects a dropdown item, the internal set.text() method calls jQuery\u0027s .html() with the item\u0027s text content. This re-parses the decoded text as HTML, creating the injected element and triggering the JavaScript event handler. An attacker can store an HTML/JavaScript payload in a milestone name, and when any user opens the New Issue page and interacts with the milestone dropdown, the payload executes in their browser via Semantic UI\u0027s preserveHTML behavior. This vulnerability is fixed in 0.14.3.","datePublished":"Jun 24, 2026, 8:25:49 PM","dateUpdated":"Jun 25, 2026, 3:37:35 PM","baseScore":4.8,"baseScoreVersion":"4.0","baseScoreVector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","references":"https://github.com/gogs/gogs/security/advisories/GHSA-vcm5-gvmp-78mp\nhttps://github.com/gogs/gogs/pull/8325\nhttps://github.com/gogs/gogs/commit/573eacdc658641487f8ad883da96b29ec8e2852d\nhttps://github.com/gogs/gogs/releases/tag/v0.14.3\n","aliases":"CVE-2026-52807\nGHSA-vcm5-gvmp-78mp\n","assigner":"GitHub_M","epss":0.48,"enisaIdProduct":[{"id":"248cd558-ba4e-319b-a86a-0228c31aef57","product":{"name":"gogs","vendor":{"name":"gogs"}},"product_version":"\u003c 0.14.3"}],"enisaIdVendor":[{"id":"1a1e2605-dd3e-37a0-96c2-3d1157fd7761","vendor":{"name":"gogs"}}],"enisaIdVulnerability":[{"id":"36bd4f3c-c49b-37b4-a96a-14b2d48c87b3","vulnerability":{"id":"GHSA-vcm5-gvmp-78mp","description":"Gogs has DOM-based XSS via Milestone Name on New Issue Page","datePublished":"Jun 23, 2026, 5:02:52 PM","dateUpdated":"Jul 21, 2026, 1:35:37 PM","baseScore":0.0,"references":"https://github.com/gogs/gogs/security/advisories/GHSA-vcm5-gvmp-78mp\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-52807\nhttps://github.com/gogs/gogs/pull/8325\nhttps://github.com/gogs/gogs/commit/573eacdc658641487f8ad883da96b29ec8e2852d\nhttps://github.com/gogs/gogs\nhttps://github.com/gogs/gogs/releases/tag/v0.14.3\n","enisa_id":"EUVD-2026-39075\n","aliases":"GHSA-vcm5-gvmp-78mp\nCVE-2026-52807\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:52:23 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"93a3c0ab-af24-3a71-8190-42c5959a3868","vulnerability":{"id":"CVE-2026-52807","description":"Gogs is an open source self-hosted Git service. Prior to 0.14.3, in new_form.tmpl, milestone names are rendered with Go\u0027s default auto-escaping ({{.Name}}), which converts \u003c to \u0026lt; etc. This prevents direct HTML injection. However, when the browser renders the DOM, the text content of the element contains the decoded original payload. Semantic UI 2.4.2\u0027s dropdown component has preserveHTML: true as the default setting. When a user selects a dropdown item, the internal set.text() method calls jQuery\u0027s .html() with the item\u0027s text content. This re-parses the decoded text as HTML, creating the injected element and triggering the JavaScript event handler. An attacker can store an HTML/JavaScript payload in a milestone name, and when any user opens the New Issue page and interacts with the milestone dropdown, the payload executes in their browser via Semantic UI\u0027s preserveHTML behavior. This vulnerability is fixed in 0.14.3.","datePublished":"Jun 24, 2026, 8:25:49 PM","dateUpdated":"Jun 25, 2026, 3:37:35 PM","status":"PUBLISHED","baseScore":4.8,"baseScoreVersion":"4.0","baseScoreVector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","references":"https://github.com/gogs/gogs/security/advisories/GHSA-vcm5-gvmp-78mp\nhttps://github.com/gogs/gogs/pull/8325\nhttps://github.com/gogs/gogs/commit/573eacdc658641487f8ad883da96b29ec8e2852d\nhttps://github.com/gogs/gogs/releases/tag/v0.14.3\n","enisa_id":"EUVD-2026-39075\n","assigner":"GitHub_M","epss":0.48,"dataProcessed":"Nov 23, 2026, 7:20:44 AM","vulnerabilityProduct":[{"id":"e795936c-e748-31b8-9e84-4d0fe16a9c4a","product":{"name":"gogs","vendor":{"name":"gogs"}},"product_version":"\u003c 0.14.3"}],"vulnerabilityVendor":[{"id":"dec8a8ec-aa9f-339e-b0fe-a057184965f7","vendor":{"name":"gogs"}}]}}],"enisaIdAdvisory":[{"id":"e5fadf23-dd97-35fe-ae84-aea1a5882206","advisory":{"id":"WID-SEC-W-2026-2013","description":"Gogs: Mehrere Schwachstellen","summary":"Ein Angreifer kann mehrere Schwachstellen in Gogs ausnutzen, um erweiterte Berechtigungen zu erlangen, beliebigen Code auszuführen – sogar mit erweiterten Berechtigungen, was zur vollständigen Kontrolle über das System führen kann –, Sicherheitsmaßnahmen zu umgehen, Daten zu manipulieren, Cross-Site-Scripting-Angriffe durchzuführen, Benutzer auf bösartige Websites umzuleiten oder einen Denial-of-Service-Zustand zu verursachen.","datePublished":"Jun 18, 2026, 10:00:00 PM","dateUpdated":"Jun 24, 2026, 10:00:00 PM","baseScore":0.0,"references":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2013.json\nhttps://wid.cert-bund.de/portal/wid/securityadvisory?name\u003dWID-SEC-2026-2013\n","aliases":"CVE-2022-1285\nCVE-2024-39930\nCVE-2024-39932\nCVE-2024-39933\nCVE-2025-64719\nCVE-2026-25119\nCVE-2026-26194\nCVE-2026-47267\nCVE-2026-52795\nCVE-2026-52796\nCVE-2026-52798\nCVE-2026-52799\nCVE-2026-52800\nCVE-2026-52801\nCVE-2026-52802\nCVE-2026-52804\nCVE-2026-52805\nCVE-2026-52806\nCVE-2026-52807\nCVE-2026-52808\nCVE-2026-52809\nCVE-2026-52810\nCVE-2026-52811\nCVE-2026-52812\nCVE-2026-52813\nCVE-2026-52814\nCVE-2026-52815\nCVE-2026-52816\n","source":{"id":8,"name":"csaf_certbund"},"advisoryProduct":[{"id":"0b35d661-4ca4-3e59-b450-5c296f8ae4d3","product":{"name":"0.14.3","vendor":{"name":"open source"}}},{"id":"1711f9af-3682-3f13-815a-11c77cdc3846","product":{"name":"gogs","vendor":{"name":"gogs"}}}]}}]}