Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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