ADVISORIES

Vulnerability

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.

3 advisories report this vulnerability, across 2 ecosystems.

Medium severity All Go 2openSUSE 1

Advisories in Go

  • GHSA-xh32-cx6c-cp4v

    Gogs XSS allowed by stored call in PDF renderer

    Moderate CVE-2025-47943 Go Updated 10 September 2026
  • GO-2025-3778

    Gogs XSS allowed by stored call in PDF renderer in gogs.io/gogs

    CVE-2025-47943 Go Updated 3 March 2026

References