Medium severity6.3OSV Advisory· Published Jun 24, 2025· Updated Apr 15, 2026
CVE-2025-47943
CVE-2025-47943
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/gogs/gogsGo | < 0.13.3-0.20250608224432-110117b2e5e5 | 0.13.3-0.20250608224432-110117b2e5e5 |
gogs.io/gogsGo | < 0.13.3-0.20250608224432-110117b2e5e5 | 0.13.3-0.20250608224432-110117b2e5e5 |
Affected products
4- ghsa-coords3 versionspkg:golang/github.com/gogs/gogspkg:golang/gogs.io/gogspkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Tumbleweed
< 0.13.3-0.20250608224432-110117b2e5e5+ 2 more
- (no CPE)range: < 0.13.3-0.20250608224432-110117b2e5e5
- (no CPE)range: < 0.13.3-0.20250608224432-110117b2e5e5
- (no CPE)range: < 0.0.20250730T213748-1.1
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-xh32-cx6c-cp4vghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-47943ghsaADVISORY
- github.com/gogs/gogs/commit/110117b2e5e5baa4809c819bec701e929d2d8d40nvdWEB
- github.com/gogs/gogs/releases/tag/v0.13.3nvdWEB
- github.com/gogs/gogs/security/advisories/GHSA-xh32-cx6c-cp4vnvdWEB
- www.hacktivesecurity.com/blog/2025/07/15/cve-2025-47943-stored-xss-in-gogs-via-pdfnvdWEB
News mentions
0No linked articles in our index yet.