{"id":"GHSA-4fgv-8448-gf82","summary":"Zinc Cross-site Scripting vulnerability","details":"In Zinc, versions v0.1.9 through v0.3.1 are vulnerable to Stored Cross-Site Scripting when using the delete user functionality. When an authenticated user deletes a user having a XSS payload in the user id field, the javascript payload will be executed and allow an attacker to access the user’s credentials.","aliases":["CVE-2022-32171","GO-2023-1895"],"modified":"2024-08-20T20:58:47.987204Z","published":"2023-07-06T19:24:00Z","database_specific":{"nvd_published_at":"2022-10-06T18:16:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-07-06T21:13:19Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32171"},{"type":"WEB","url":"https://github.com/zinclabs/zinc/commit/3376c248bade163430f9347742428f0a82cd322d"},{"type":"WEB","url":"https://github.com/zincsearch/zincsearch/commit/3376c248bade163430f9347742428f0a82cd322d"},{"type":"WEB","url":"https://www.mend.io/vulnerability-database/CVE-2022-32171"}],"affected":[{"package":{"name":"github.com/zincsearch/zincsearch","ecosystem":"Go","purl":"pkg:golang/github.com/zincsearch/zincsearch"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.9"},{"fixed":"0.3.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/07/GHSA-4fgv-8448-gf82/GHSA-4fgv-8448-gf82.json"}},{"package":{"name":"github.com/zinclabs/zinc","ecosystem":"Go","purl":"pkg:golang/github.com/zinclabs/zinc"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.9"},{"fixed":"0.3.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/07/GHSA-4fgv-8448-gf82/GHSA-4fgv-8448-gf82.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}