Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/gogs/gogs/commit/110117b2e5e5baa4809c819bec701e929d2d8d40
- https://github.com/gogs/gogs/releases/tag/v0.13.3
- https://github.com/gogs/gogs/security/advisories/GHSA-xh32-cx6c-cp4v
- https://www.hacktivesecurity.com/blog/2025/07/15/cve-2025-47943-stored-xss-in-go
- https://github.com/gogs/gogs/security/advisories/GHSA-xh32-cx6c-cp4v
FAQ
What is CVE-2025-47943?
CVE-2025-47943 is a vulnerability with a CVSS score of 6.3 (MEDIUM). 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 Javasc...
How severe is CVE-2025-47943?
CVE-2025-47943 has been rated MEDIUM with a CVSS base score of 6.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-47943?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.