# CVE-2024-39932: GO-2024-2971 - Gogs allows argument injection during the previewing of changes in github.com/gogs/gogs

Source: https://junglewise.ai/threats/cve-2024-39932-gogs-allows-argument-injection-during-the-previewing-of-changes  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-07-09  
License: CC BY 4.0 with a link back

CVE-2024-39932 · Severity: low · CVSS 3.1 · Published 2024-07-09

Gogs allows argument injection during the previewing of changes in github.com/gogs/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-2024-39932 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-39932 being exploited in the wild.

**How severe is CVE-2024-39932?** Low severity, with a CVSS score of 3.1, published 9 July 2024.

**Which products and versions are affected?** github.com/gogs/gogs (Go) SEMVER:introduced=0, SEMVER:introduced=0,last_affected=0.13.0; gogs.io/gogs (Go) SEMVER:introduced=0,fixed=0.13.1.

**Is there a fix for CVE-2024-39932?** Yes. gogs.io/gogs (Go): upgrade to 0.13.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-39932?** 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

- gogs.io/gogs (Go): upgrade to 0.13.1 or later

  ```sh
  go get gogs.io/gogs@v0.13.1
  ```


## Affected products

- github.com/gogs/gogs (Go) SEMVER:introduced=0, SEMVER:introduced=0,last_affected=0.13.0
- gogs.io/gogs (Go) SEMVER:introduced=0,fixed=0.13.1

## Identifiers

- CVE-2024-39932
- GHSA-9pp6-wq8c-3w2c
- GHSA-hf29-9hfh-w63j
- GO-2024-2971

## 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)
