CVE-2025-47943: GO-2025-3778 - Gogs XSS allowed by stored call in PDF renderer in gogs.io/gogs

CVE-2025-47943 · Severity: low · CVSS 3.1 · Published 2025-07-28

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

Technologies: github.com/gogs/gogs (Go), gogs.io/gogs (Go). Vendors: Go.

Quick answers

Is CVE-2025-47943 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-47943 being exploited in the wild.
How severe is CVE-2025-47943?
Low severity, with a CVSS score of 3.1, published 28 July 2025.
Which products and versions are affected?
github.com/gogs/gogs (Go) SEMVER:introduced=0,fixed=0.13.3-0.20250608224432-110117b2e5e5; gogs.io/gogs (Go) SEMVER:introduced=0,fixed=0.13.3-0.20250608224432-110117b2e5e5.
Is there a fix for CVE-2025-47943?
Yes. github.com/gogs/gogs (Go): upgrade to 0.13.3-0.20250608224432-110117b2e5e5 or later; gogs.io/gogs (Go): upgrade to 0.13.3-0.20250608224432-110117b2e5e5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-47943?
Check whether you run github.com/gogs/gogs (Go) or gogs.io/gogs (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/gogs/gogs (Go): upgrade to 0.13.3-0.20250608224432-110117b2e5e5 or later
    go get github.com/gogs/gogs@v0.13.3-0.20250608224432-110117b2e5e5
  • gogs.io/gogs (Go): upgrade to 0.13.3-0.20250608224432-110117b2e5e5 or later
    go get gogs.io/gogs@v0.13.3-0.20250608224432-110117b2e5e5

Affected products

  • github.com/gogs/gogs (Go) SEMVER:introduced=0,fixed=0.13.3-0.20250608224432-110117b2e5e5
  • gogs.io/gogs (Go) SEMVER:introduced=0,fixed=0.13.3-0.20250608224432-110117b2e5e5

Identifiers

  • CVE-2025-47943
  • GHSA-xh32-cx6c-cp4v
  • GO-2025-3778

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.