{"id":"GHSA-7j6x-42mm-p7jm","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 template functionality. When an authenticated user deletes a template with a XSS payload in the name field, the Javascript payload will be executed and allow an attacker to access the user’s credentials.","aliases":["CVE-2022-32172","GO-2023-1896"],"modified":"2024-08-20T20:58:39.655453Z","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:15Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32172"},{"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-32172"}],"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-7j6x-42mm-p7jm/GHSA-7j6x-42mm-p7jm.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-7j6x-42mm-p7jm/GHSA-7j6x-42mm-p7jm.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"}]}