{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-107618",
        "assignerOrgId": "88ee5874-cf24-4952-aea0-31affedb7ff2",
        "state": "PUBLISHED",
        "assignerShortName": "Gitea",
        "dateReserved": "2026-10-14T20:08:45.821Z",
        "datePublished": "2026-10-18T18:56:53.428Z",
        "dateUpdated": "2026-10-18T18:56:53.428Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "88ee5874-cf24-4952-aea0-31affedb7ff2",
                "shortName": "Gitea",
                "dateUpdated": "2026-10-18T18:56:53.428Z"
            },
            "title": "Gitea cross-site request forgery on repository topics",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "`POST /{owner}/{repo}/topics` was registered without the sign-in middleware that provides the cross-origin protection, so a request issued by a third-party site was not rejected. A repository administrator who visited a malicious page could have the topics of their repository changed. No other repository settings were reachable through this route."
                }
            ],
            "affected": [
                {
                    "vendor": "Gitea",
                    "product": "Gitea",
                    "packageName": "gitea.dev",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected",
                            "lessThanOrEqual": "28.1.0",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-4jmf-h2cm-hg7w",
                    "name": "GitHub Security Advisory GHSA-4jmf-h2cm-hg7w",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://github.com/go-gitea/gitea/pull/39839",
                    "name": "Fix: go-gitea/gitea pull request #39839",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/go-gitea/gitea/pull/39847",
                    "name": "Fix backport to release/v28: go-gitea/gitea pull request #39847",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://blog.gitea.com/release-of-28.2.0/",
                    "name": "Gitea 28.2.0 release announcement",
                    "tags": [
                        "release-notes"
                    ]
                },
                {
                    "url": "https://github.com/go-gitea/gitea/releases/tag/v28.2.0",
                    "name": "go-gitea/gitea v28.2.0 release",
                    "tags": [
                        "release-notes"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "https://github.com/bruhdev1290",
                    "type": "reporter"
                },
                {
                    "lang": "en",
                    "value": "https://github.com/silverwind",
                    "type": "remediation developer"
                },
                {
                    "lang": "en",
                    "value": "https://github.com/wxiaoguang",
                    "type": "remediation developer"
                },
                {
                    "lang": "en",
                    "value": "https://github.com/bircni",
                    "type": "remediation developer"
                }
            ]
        }
    }
}