In Gitea before 1.20.1, a forbidden URL scheme such as javascript: can be used for a link, aka XSS.
PUBLISHED5.2CWE-79
Problem type
Affected products
Gitea
Gitea
< 1.20.1 - AFFECTED
References
blog.gitea.com
https://blog.gitea.com/release-of-1.20.1/
github.com
https://github.com/go-gitea/gitea/releases/tag/v1.20.1
github.com
https://github.com/go-gitea/gitea/pull/25960
JSON source
https://cveawg.mitre.org/api/cve/CVE-2025-68946Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2025-68946",
"assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"assignerShortName": "mitre",
"dateUpdated": "2025-12-26T18:59:45.647Z",
"dateReserved": "2025-12-26T04:14:03.512Z",
"datePublished": "2025-12-26T04:14:03.775Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"shortName": "mitre",
"dateUpdated": "2025-12-26T18:59:45.647Z"
},
"descriptions": [
{
"lang": "en",
"value": "In Gitea before 1.20.1, a forbidden URL scheme such as javascript: can be used for a link, aka XSS."
}
],
"affected": [
{
"vendor": "Gitea",
"product": "Gitea",
"defaultStatus": "unaffected",
"versions": [
{
"version": "1.20.0",
"status": "affected",
"versionType": "semver",
"lessThan": "1.20.1"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')",
"cweId": "CWE-79",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://blog.gitea.com/release-of-1.20.1/"
},
{
"url": "https://github.com/go-gitea/gitea/releases/tag/v1.20.1"
},
{
"url": "https://github.com/go-gitea/gitea/pull/25960"
}
],
"metrics": [
{
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
],
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE",
"baseScore": 5.4,
"baseSeverity": "MEDIUM"
}
}
]
},
"adp": [
{
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-12-26T14:50:45.662Z"
},
"title": "CISA ADP Vulnrichment",
"metrics": [
{}
]
}
]
}
}