GHSA-898p-hh3p-hf9r

Suggest an improvement
Source
https://github.com/advisories/GHSA-898p-hh3p-hf9r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-898p-hh3p-hf9r/GHSA-898p-hh3p-hf9r.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-898p-hh3p-hf9r
Aliases
Published
2025-12-26T03:30:17Z
Modified
2026-01-03T12:25:57.491997Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Gitea allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text
Details

Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.

Database specific
{
    "severity": "MODERATE",
    "github_reviewed_at": "2025-12-26T19:16:42Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "nvd_published_at": "2025-12-26T03:15:51Z",
    "github_reviewed": true
}
References

Affected packages

Go / code.gitea.io/gitea

Package

Name
code.gitea.io/gitea
View open source insights on deps.dev
Purl
pkg:golang/code.gitea.io/gitea

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.22.2

Database specific

source

"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-898p-hh3p-hf9r/GHSA-898p-hh3p-hf9r.json"