{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-68942","id":"CVE-2025-68942","title":"Gitea 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.","descriptionLong":"Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.","published":"2025-12-26T02:50:35.144Z","updated":"2026-10-28T02:30:58.471652126Z","reserved":"2025-12-26T02:50:34.878Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"mitre"},"metrics":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"mitre"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"mitre.org"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Gitea"],"affectedProducts":[{"vendor":"Gitea","product":"Gitea","defaultStatus":"unaffected","versions":[{"lessThan":"1.22.2","status":"affected","version":"0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":["<1.22.2"],"fixed":["1.22.2"],"advisory":"GHSA-898p-hh3p-hf9r"}],"cwes":["CWE-79"],"aliases":["BIT-gitea-2025-68942","GHSA-898p-hh3p-hf9r","GO-2025-4263"],"references":[{"url":"https://blog.gitea.com/release-of-1.22.2/","tags":["Release Notes","article"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.22.2","tags":["Release Notes","web"]},{"url":"https://github.com/go-gitea/gitea/pull/31966","tags":["Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68942.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68942","tags":["advisory"]},{"url":"https://blog.gitea.com/release-of-1.22.2","tags":["web"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"]},{"url":"https://github.com/advisories/GHSA-898p-hh3p-hf9r","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00247,"epssPercentile":0.16192,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-68942","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68942","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-68942","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-898p-hh3p-hf9r","ok":true,"note":"GHSA-898p-hh3p-hf9r"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-68942","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}