CVE-2026-120729
published medium CVSS 3.1 · 5.4Gitea stored cross-site scripting in the issue reference popup
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 1.27.0 to < 28.4.0 · Other versions: unaffected | Affected | Not stated | Gitea |
Description
The popup shown when hovering an issue reference loaded its data from the path of the hovered link and inserted part of the response as HTML. A user who can post a comment or other rendered content could add a link that is displayed as an ordinary issue reference but points to a file in a repository they control, so that the popup inserted that file's content into the page of anyone hovering the link and ran script in the viewer's session. The popup now requests the issue by the owner, repository and index parsed from the link.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 1.27.0 to < 28.4.0 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
5- Gitea 28.4.0 release announcement https://blog.gitea.com/release-of-28.4.0/
- Fix: go-gitea/gitea pull request #40207 https://github.com/go-gitea/gitea/pull/40207
- Fix backport to release/v28: go-gitea/gitea pull request #40225 https://github.com/go-gitea/gitea/pull/40225
- go-gitea/gitea v28.4.0 release https://github.com/go-gitea/gitea/releases/tag/v28.4.0
- GitHub Security Advisory GHSA-wmr3-xg9x-vc55 https://github.com/go-gitea/gitea/security/advisories/GHSA-wmr3-xg9x-vc55
Provider assertions
2Gitea · cna
Gitea stored cross-site scripting in the issue reference popup
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ecc98036cbb5429ec82db2d3699a50fffdfcc1014b7d90364bc0f198e212272b
- Ingested
- 16 Nov 2026, 21:53:59 UTC
- Source record
- Official CVE record