XSS in Gogs
CVE-2025-47943
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.003 (23.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N.
Affected products
- Gogs — versions <= 0.14.0+dev
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-47943?
- CVE-2025-47943 is a medium-severity vulnerability in Gogs, classified under Cross-site Scripting. CVSS score: 6.3/10. Published 2025-06-24.
- How severe is CVE-2025-47943?
- Medium severity. CVSS v3 base score is 6.3 out of 10.
- Is CVE-2025-47943 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.