{"id":"CVE-2021-28378","aliases":["CVE-2021-28378","GHSA-g95p-88p4-76cm","BIT-GITEA-2021-28378","GO-2022-0832"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting in Gitea","summary":"Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations.","source":"cvelist"},{"lang":"en","text":"Cross-site Scripting in Gitea in code.gitea.io/gitea","format":"markdown","source":"go"},{"lang":"es","text":"Gitea versiones 1.12.x y versiones 1.13.x anteriores a 1.13.4, permite un ataque de tipo XSS por medio de determinados datos de problemas en algunas situaciones","source":"nvd"}],"published":"2021-03-15T05:20:50.000Z","modified":"2026-09-08T08:47:33.134Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AC:H/AV:N/A:N/C:L/I:L/PR:L/S:U/UI:R","score":3.7,"rating":"LOW"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AC:H/AV:N/A:N/C:L/I:L/PR:L/S:U/UI:R","score":3.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.13.4"}],"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.13.4"}],"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","source":"go"},{"ranges":[{"status":"affected","introduced":"1.12.0","lastAffected":"1.12.6"},{"status":"affected","introduced":"1.13.0","fixed":"1.13.4"}],"vendor":"gitea","product":"gitea","cpe":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"1.12.0","status":"affected","fixed":"1.12.7"},{"type":"semver","introduced":"1.13.0","status":"affected","fixed":"1.13.4"}],"ecosystem":"Bitnami","package":"gitea","purl":"pkg:bitnami/gitea","source":"bitnami"}],"references":[{"url":"https://github.com/go-gitea/gitea/pull/14898","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://blog.gitea.io/2021/03/gitea-1.13.4-is-released/","tags":["advisory","release-notes","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/PandatiX/CVE-2021-28378","tags":["advisory","exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28378","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/go-gitea/gitea/pull/14899","tags":["web"],"sources":["ghsa","go"]},{"url":"https://blog.gitea.io/2021/03/gitea-1.13.4-is-released","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-g95p-88p4-76cm","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-28378","url":"https://www.cve.org/CVERecord?id=CVE-2021-28378","licence":"CVE Terms of Use","modified":"2024-08-03T21:40:14.222Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g95p-88p4-76cm","url":"https://github.com/advisories/GHSA-g95p-88p4-76cm","licence":"CC-BY-4.0","modified":"2024-08-21T15:58:39.462Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0832","url":"https://pkg.go.dev/vuln/GO-2022-0832","licence":"CC-BY-4.0","modified":"2026-03-03T04:52:18.307Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-28378","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28378","licence":"Public domain","modified":"2026-06-17T03:46:18.380Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GITEA-2021-28378","url":"https://osv.dev/vulnerability/BIT-GITEA-2021-28378","licence":"Apache-2.0","modified":"2026-09-08T08:47:33.134Z"}],"updatedAt":"2026-11-25T22:58:00.288Z","epss":{"score":0.08762,"percentile":0.95274,"date":"2026-12-01T12:00:22.000Z"}}