{"id":"GHSA-9hx4-qm7h-x84j","summary":"Cross-site Scripting in Gogs","details":"Cross-site scripting (XSS) vulnerability in models/issue.go in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x before 0.5.8 allows remote attackers to inject arbitrary web script or HTML via the text parameter to api/v1/markdown.","aliases":["CVE-2014-8683","GO-2022-0642"],"modified":"2024-08-21T15:42:31.122838Z","published":"2021-06-29T18:32:53Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-05-20T16:31:56Z","nvd_published_at":null},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-8683"},{"type":"WEB","url":"https://github.com/gogits/gogs/commit/3abc41cccab2486012b46305827433ad6f5deade"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/98693"},{"type":"WEB","url":"https://github.com/gogits/gogs/releases/tag/v0.5.8"},{"type":"WEB","url":"https://gogs.io/docs/intro/change_log.html"},{"type":"WEB","url":"https://packetstormsecurity.com/files/129118/Gogs-Markdown-Renderer-Cross-Site-Scripting.html"},{"type":"WEB","url":"https://seclists.org/fulldisclosure/2014/Nov/31"},{"type":"WEB","url":"https://seclists.org/fulldisclosure/2014/Nov/34"},{"type":"WEB","url":"https://www.securityfocus.com/archive/1/533996/100/0/threaded"}],"affected":[{"package":{"name":"gogs.io/gogs","ecosystem":"Go","purl":"pkg:golang/gogs.io/gogs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.3.1"},{"fixed":"0.5.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-9hx4-qm7h-x84j/GHSA-9hx4-qm7h-x84j.json"}}],"schema_version":"1.9.0"}