CVE-2025-68942 Gitea allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text
MediumCVSS 5.4
EPSS 0.42%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| code.gitea.io/gitea | < 1.22.2 | 1.22.2 | Fixed |
| code.gitea.io/gitea(Go) | < 1.22.2 | 1.22.2 | Fixed |
| Gitea | < 1.22.2 | 1.22.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| code.gitea.io/gitea(Go) | < 1.22.2 | 1.22.2 |
| code.gitea.io/gitea | < 1.22.2 | 1.22.2 |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-controller-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| Gitea | < 1.22.2 | 1.22.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch
- blog.gitea.com release-notes
- github.com product
- github.com release-notes
- github.com vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2425464 issue-tracking
- www.cve.org