CVE-2025-47943
Gogs is an open source self-hosted Git service. In application …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/gogs/gogs/commit/110117b2e5e5baa4809c819bec701e929d2d8d40
- github.com/gogs/gogs/releases/tag/v0.13.3
- github.com/gogs/gogs/security/advisories/GHSA-xh32-cx6c-cp4v
- www.hacktivesecurity.com/blog/2025/07/15/cve-2025-47943-stored-xss-in-gogs-via-pdf
- nvd.nist.gov/vuln/detail/CVE-2025-47943
- github.com/advisories/GHSA-xh32-cx6c-cp4v
- nvd.nist.gov/vuln/detail/CVE-2025-47943
- cve.org/CVERecord?id=CVE-2025-47943
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.