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

Source: https://junglewise.ai/threats/cve-2025-47943-gogs-xss-allowed-by-stored-call-in-pdf-renderer  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-07-28  
License: CC BY 4.0 with a link back

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)](https://junglewise.ai/threats/technologies/github-com-gogs-gogs), [gogs.io/gogs (Go)](https://junglewise.ai/threats/technologies/gogs-io-gogs). Vendors: [Go](https://junglewise.ai/threats/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

  ```sh
  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

  ```sh
  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

## Related threats

- [GO-2026-5193 - Gogs: XSS in .ipynb files renderer due to outdated notebookjs in gogs.io/gogs](https://junglewise.ai/threats/go-2026-5193-gogs-xss-in-ipynb-files-renderer-due-to-outdated-d1e8727f)
- [Gogs stored XSS in Jupyter Notebook sanitizer endpoint](https://junglewise.ai/threats/cve-2026-52816-gogs-stored-xss-in-jupyter-notebook-sanitizer-endpoint)
- [Gogs unauthenticated information disclosure in organization teams API](https://junglewise.ai/threats/cve-2026-52815-gogs-unauthenticated-information-disclosure-in-organization-teams)
- [Gogs Denial of Service via SSH handshake stall in built-in SSH server](https://junglewise.ai/threats/cve-2026-52814-gogs-denial-of-service-via-ssh-handshake-stall-in-built-in-ssh)
- [Gogs path traversal and RCE via organization names](https://junglewise.ai/threats/cve-2026-52813-gogs-path-traversal-and-rce-via-organization-names)
