Gogs is an open source self-hosted Git service. Prior to 0.14.3, in new_form.tmpl, milestone names are rendered with Go's default auto-escaping ({{.Name}}), which converts < to < 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's dropdown component has preserveHTML: true as the default setting. When a user selects a dropdown item, the internal set.text() method calls jQuery's .html() with the item's 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's preserveHTML behavior. This vulnerability is fixed in 0.14.3.
CVE-2026-52807
This medium-severity CVE scores 4.8 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.5%, top 62% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 4.8
- EG Score
- 4.8(medium)
- EPSS
- 38.2%
- KEV
- Not listed
Published
June 23, 2026
Last Modified
June 25, 2026
Advisory Details (4)
Auto-updated Jun 24, 2026DOM-based XSS via Milestone Name on New Issue Page · Advisory · gogs/gogs · GitHub
https://github.com/gogs/gogs/security/advisories/GHSA-vcm5-gvmp-78mp0.14.3
Patch available: gogs/gogs v0.14.3
https://github.com/gogs/gogs/releases/tag/v0.14.3security: sanitize milestone names in new issue form
Fix merged in gogs/gogs PR #8325 on 2026-06-06 — awaiting tagged release
https://github.com/gogs/gogs/pull/8325commit 573eacdc6586 (gogs/gogs)
Fix landed in gogs/gogs commit 573eacdc6586 — awaiting tagged release
https://github.com/gogs/gogs/commit/573eacdc658641487f8ad883da96b29ec8e2852dVendor Advisories for CVE-2026-52807(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 14× in last 7d / 29× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 18:43 UTCEG score recompute
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 18:28 UTCEG score recompute
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 18:48 UTCEG score recompute
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 19:08 UTCEG score recompute
- 2026-07-02 19:27 UTCEG score recompute
- 2026-07-01 19:47 UTCEG score recompute
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 20:07 UTCEG score recompute
- 2026-06-29 20:27 UTCEG score recompute
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 20:47 UTCEG score recompute
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 21:07 UTCEG score recompute
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 21:25 UTCEG score recompute
- 2026-06-25 21:45 UTCEG score recompute
Show 4 moreShow fewer
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 22:04 UTCEG score recompute▲ 4.80
- 2026-06-24 22:03 UTCNVD updateCVSS v3 → 4.8 · CVSS v4 → 4.8 · severity → MEDIUM
- 2026-06-23 17:22 UTCEG score recompute
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-52807?
When was CVE-2026-52807 disclosed?
Is CVE-2026-52807 actively exploited?
What is the CVSS score of CVE-2026-52807?
How do I remediate CVE-2026-52807?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-52807
Is Your Infrastructure Affected by CVE-2026-52807?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.