{"id":"CVE-2025-68942","state":"PUBLISHED","title":"Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.","description":"Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.","publishedAt":"2025-12-26T02:50:35.144Z","updatedAt":"2025-12-26T19:30:04.360Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"mitre"},"assigner":"mitre","products":["Gitea Gitea"],"affected":[{"vendor":"Gitea","product":"Gitea","packageURL":"pkg:golang/code.gitea.io/gitea","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.22.2","versionType":"semver"}]}],"references":["https://blog.gitea.com/release-of-1.22.2/","https://github.com/go-gitea/gitea/releases/tag/v1.22.2","https://github.com/go-gitea/gitea/pull/31966"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68942.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68942","state":"PUBLISHED","datePublished":"2025-12-26T02:50:35.144Z","dateUpdated":"2025-12-26T19:30:04.360Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2025-12-26T02:50:34.878Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text."}],"affected":[{"vendor":"Gitea","product":"Gitea","packageURL":"pkg:golang/code.gitea.io/gitea","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.22.2","versionType":"semver"}]}],"references":[{"url":"https://blog.gitea.com/release-of-1.22.2/"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.22.2"},{"url":"https://github.com/go-gitea/gitea/pull/31966"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2025-12-26T18:58:40.767Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*","versionEndExcluding":"1.22.2"}]}]}],"x_generator":{"engine":"CVE-Request-form 0.0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-12-26T19:29:56.320510Z","id":"CVE-2025-68942","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-26T19:30:04.360Z"}}]}}}