CVE-2025-47943
Gogs XSS allowed by stored call in PDF renderer
Record from NVD · Published June 24, 2025
github.com/gogs/gogs is fixed in 0.13.3-0.20250608224432-110117b2e5e5 (Go Modules)
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.
EPSS 0.39% · 33.8th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/gogs/gogs | Go Modules | 0.13.3-0.20250608224432-110117b2e5e5 |
| gogs.io/gogs | Go Modules | 0.13.3-0.20250608224432-110117b2e5e5 |
Risk scores
Timeline
- Jun 24, 2025 EPSS Score (30 in total, the first dated here)
- Jun 24, 2025 Coalition ESS Score (14 in total, the first dated here)
- Jun 24, 2025 CVE Published
- Dec 12, 2025 Security Advisory
- Dec 12, 2025 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-47943
vulnetix vdb fixes CVE-2025-47943
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-47943/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/gogs/gogs/commit/110117b2e5e5baa4809c819bec701e929d2d8d40 technical
- https://github.com/gogs/gogs/releases/tag/v0.13.3 technical
- https://www.hacktivesecurity.com/blog/2025/07/15/cve-2025-47943-stored-xss-in-gogs-via-pdf technical
- https://github.com/gogs/gogs/security/advisories/GHSA-xh32-cx6c-cp4v technical