Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Gogs versions before 0.13.3-0.20250608224432-110117b2e5e5 are affected by a stored cross-site scripting flaw in its bundled PDF renderer, which ships an outdated pdfjs component. An attacker who can upload a repository file can have JavaScript run when a user clicks to preview it. The fix is to upgrade to 0.13.3-0.20250608224432-110117b2e5e5 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.3 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0042, the 37th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:14 UTC First seen by agentprime
- 31 Oct 2026, 14:14 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-xh32-cx6c-cp4v
- OSV: GHSA-xh32-cx6c-cp4v
- github.com/gogs/gogs/security/advisories/GHSA-xh32-cx6c-cp4v
- nvd.nist.gov/vuln/detail/CVE-2025-47943
- github.com/gogs/gogs/commit/110117b2e5e5baa4809c819bec701e929d2d8d40
- github.com/gogs/gogs
- github.com/gogs/gogs/releases/tag/v0.13.3
- www.hacktivesecurity.com/blog/2025/07/15/cve-2025-47943-stored-xss-in-gogs-via-pdf