Read the docs

Cross-site scripting in Gitea

Priority LOW 29CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

Gitea 1.7.2, 1.7.3 is affected by: Cross Site Scripting (XSS). The impact is: execute JavaScript in victim's browser, when the vulnerable repo page is loaded. The component is: repository's description. The attack vector is: victim must navigate to public and affected repo page.

Why it matters now

EPSS 0.00848 58th percentileScored 2026-11-07
Fix Fixed code.gitea.io/gitea (Go): 1.7.4

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
GiteaGitea1.7.2, 1.7.3—No fix listedCNA
—code.gitea.io/gitea (Go)1.7.2 to before 1.7.41.7.4Patch availableGHSA-hqx2-j33x-9fc4
  • Gitea VendorGitea Affected 1.7.2, 1.7.3 Fixed in — No fix listed CNA
  • code.gitea.io/gitea (Go) Vendor— Affected 1.7.2 to before 1.7.4 Fixed in 1.7.4 Patch available GHSA-hqx2-j33x-9fc4

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:gitea:gitea:1.7.2:*:*:*:*:*:*:*1.7.2VulnerableGitea
cpe:2.3:a:gitea:gitea:1.7.3:*:*:*:*:*:*:*1.7.3VulnerableGitea
  • cpe:2.3:a:gitea:gitea:1.7.2:*:*:*:*:*:*:* Versions 1.7.2 Vulnerable ·Gitea
  • cpe:2.3:a:gitea:gitea:1.7.3:*:*:*:*:*:*:* Versions 1.7.3 Vulnerable ·Gitea

Remediation

  • Fix · GHSA-hqx2-j33x-9fc4 code.gitea.io/gitea (Go) Fixed in 1.7.4 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2019-1010314
  2. 2026-10-03 Alias added: GHSA-hqx2-j33x-9fc4

References

  • TI-2026-42785 Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation. KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-11072 The git hook feature in Gitea 1.1.0 through 1.12.5 might allow for authenticated remote… CVSS 3.1HIGH 7.2
  • TI-2022-12910 Gitea before 1.16.7 does not escape git fetch remote. CVSS 3.1HIGH 7.5
  • TI-2019-08404 models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror… CVSS 3.1HIGH 8.8
  • TI-2022-00955 Open Redirect on login in go-gitea/gitea CVSS 3.1MEDIUM 6.1
  • TI-2026-68968 Push-to-create bypass of FORCE_PRIVATE policy in Gitea CVSS 3.1MEDIUM 5.4
See all 80 →

Sources