CVE-2025-47943gogs
Medium 6.3
Follow: this CVE · gogs · gogs We alert you by email or Slack (account required).
- Priority
- 38
- CVSS 3.1
- 6.3
- EPSS
- —
- Auth required
- Yes
- Published
- Jun 24, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N
What happens
Gogs is an open source self-hosted Git service. In application version 0.14.0+dev and prior, there is a stored cross-site scripting (XSS) vulnerability present in Gogs, which allows client-side Javascript code execution. The vulnerability is caused by the usage of a vulnerable and outdated component: pdfjs-1.4.20 under public/plugins/. This issue has been fixed for gogs.io/gogs in version 0.13.3.
What to do
- Apply the vendor's security update for gogs.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/gogs/gogs |
< 0.13.3-0.20250608224432-110117b2e5e5 |
0.13.3-0.20250608224432-110117b2e5e5 |
go get github.com/gogs/gogs@v0.13.3-0.20250608224432-110117b2e5e5 |
| Go | gogs.io/gogs |
< 0.13.3-0.20250608224432-110117b2e5e5 |
0.13.3-0.20250608224432-110117b2e5e5 |
go get gogs.io/gogs@v0.13.3-0.20250608224432-110117b2e5e5 |
| Go | gogs.io/gogs |
< 0.13.3-0.20250608224432-110117b2e5e5 |
0.13.3-0.20250608224432-110117b2e5e5 |
go get gogs.io/gogs@v0.13.3-0.20250608224432-110117b2e5e5 |
Per OSV / GitHub Advisories (GHSA-xh32-cx6c-cp4v, GO-2025-3778). Check the version in your lockfile before upgrading.
Affected products
- gogs · gogs
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.