# CVE-2024-39932: Gogs allows argument injection during the previewing of changes

- Severity: Critical 9.9 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 16.2%, higher than 97% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-07-04T00:00:00.000Z
- Modified: 2026-06-17T07:43:03.393Z
- Also known as: GHSA-9pp6-wq8c-3w2c, GHSA-hf29-9hfh-w63j, GO-2024-2971
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

Gogs through 0.13.0 allows argument injection during the previewing of changes.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gogs gogs: 0.13.0; up to 0.13.0
- gogs.io/gogs (Go): before 0.13.1
- github.com/gogs/gogs (Go): up to 0.13.0; all versions

## Every score

- mitre: CVSS:3.1 9.9 Critical `CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- NVD: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1/> (exploit, mitigation, third-party-advisory)
- <https://github.com/gogs/gogs/releases> (release-notes, web)
- <https://github.com/gogs/gogs/security/advisories/GHSA-9pp6-wq8c-3w2c> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-39932> (advisory)
- <https://github.com/gogs/gogs> (package)
- <https://www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1> (web)
- <https://github.com/advisories/GHSA-hf29-9hfh-w63j> (advisory)

## Sources

- CVE List: [CVE-2024-39932](https://www.cve.org/CVERecord?id=CVE-2024-39932), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-9pp6-wq8c-3w2c](https://github.com/advisories/GHSA-9pp6-wq8c-3w2c), CC-BY-4.0, modified 2024-12-23
- GitHub Advisory Database: [GHSA-hf29-9hfh-w63j](https://github.com/advisories/GHSA-hf29-9hfh-w63j), CC-BY-4.0, modified 2024-12-23
- Go Vulnerability Database: [GO-2024-2971](https://pkg.go.dev/vuln/GO-2024-2971), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-39932](https://nvd.nist.gov/vuln/detail/CVE-2024-39932), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-39932 · Whole record: https://cve.day/CVE-2024-39932.json · Rebuilt by cve.day 2026-11-25T22:58:42.510Z
