{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-28378","id":"CVE-2021-28378","title":"Cross-site Scripting in Gitea","description":"Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations.","descriptionLong":"Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations.","published":"2021-03-15T05:20:50.000Z","updated":"2026-11-17T09:00:04.534143992Z","reserved":"2021-03-15T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AC:H/AV:N/A:N/C:L/I:L/PR:L/S:U/UI:R","rating":"low","source":"mitre"},"metrics":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AC:H/AV:N/A:N/C:L/I:L/PR:L/S:U/UI:R","rating":"low","source":"mitre"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"low","source":"mitre.org"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"low","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":["<1.13.4"],"fixed":["1.13.4"],"advisory":"GHSA-g95p-88p4-76cm"}],"cwes":["CWE-79"],"aliases":["BIT-gitea-2021-28378","GHSA-g95p-88p4-76cm","GO-2022-0832"],"references":[{"url":"https://github.com/go-gitea/gitea/pull/14898","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://blog.gitea.io/2021/03/gitea-1.13.4-is-released/","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","advisory"]},{"url":"https://github.com/PandatiX/CVE-2021-28378","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28378","tags":["advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/14899","tags":["web"]},{"url":"https://blog.gitea.io/2021/03/gitea-1.13.4-is-released","tags":["web"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"]},{"url":"https://github.com/advisories/GHSA-g95p-88p4-76cm","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.08762,"epssPercentile":0.95274,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-28378","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28378","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-28378","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g95p-88p4-76cm","ok":true,"note":"GHSA-g95p-88p4-76cm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-28378","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}