# CVE-2025-68946: Gitea vulnerable to Cross-site Scripting

- Severity: Medium 5.4 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 28% of CVEs (2026-11-30)
- Published: 2025-12-26T04:14:03.775Z
- Modified: 2026-10-13T10:10:00.193Z
- Also known as: GHSA-hq57-c72x-4774, BIT-GITEA-2025-68946, GO-2025-4265
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

In Gitea before 1.20.1, a forbidden URL scheme such as javascript: can be used for a link, aka XSS.

(As written by CVE List.)

## Affected

- Gitea Gitea: from 1.20.0 before 1.20.1; before 1.20.1
- code.gitea.io/gitea (Go): before 1.20.1
- gitea (Bitnami): before 1.20.1

## Every score

- mitre: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://blog.gitea.com/release-of-1.20.1/> (article, release-notes)
- <https://github.com/go-gitea/gitea/releases/tag/v1.20.1> (article, release-notes, web)
- <https://github.com/go-gitea/gitea/pull/25960> (fix, issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-68946> (advisory, web)
- <https://blog.gitea.com/release-of-1.20.1> (web)
- <https://github.com/go-gitea/gitea> (package)
- <https://github.com/advisories/GHSA-hq57-c72x-4774> (advisory)

## Sources

- CVE List: [CVE-2025-68946](https://www.cve.org/CVERecord?id=CVE-2025-68946), CVE Terms of Use, modified 2025-12-26
- GitHub Advisory Database: [GHSA-hq57-c72x-4774](https://github.com/advisories/GHSA-hq57-c72x-4774), CC-BY-4.0, modified 2026-01-01
- Go Vulnerability Database: [GO-2025-4265](https://pkg.go.dev/vuln/GO-2025-4265), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-68946](https://nvd.nist.gov/vuln/detail/CVE-2025-68946), Public domain, modified 2026-10-13
- Bitnami Vulnerability Database: [BIT-GITEA-2025-68946](https://osv.dev/vulnerability/BIT-GITEA-2025-68946), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-68946 · Whole record: https://cve.day/CVE-2025-68946.json · Rebuilt by cve.day 2026-11-25T22:59:09.942Z
