{"id":"CVE-2022-32171","aliases":["CVE-2022-32171","GHSA-4fgv-8448-gf82","GO-2023-1895"],"related":[],"kind":"vulnerability","state":"published","title":"Zinc - Stored XSS","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Zinc Cross-site Scripting vulnerability in github.com/zinclabs/zinc","format":"markdown","source":"go"},{"lang":"es","text":"En Zinc, versiones v0.1.9 hasta v0.3.1, son vulnerables a un ataque de tipo Cross-Site Scripting Almacenado cuando es usada la funcionalidad delete user. Cuando un usuario autenticado elimina un usuario que presenta una carga útil de tipo XSS en el campo user id, la carga útil javascript será ejecutada y permitirá a un atacante acceder a las credenciales del usuario","source":"nvd"}],"published":"2022-10-06T17:14:15.732Z","modified":"2026-06-17T04:46:48.560Z","severity":{"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"},"severities":[{"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"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"v0.1.9","fixed":"unspecified","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"v0.3.1","status":"affected"}],"vendor":"zinc","product":"zinc","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.1.9","status":"affected","fixed":"0.3.2"}],"ecosystem":"Go","package":"github.com/zincsearch/zincsearch","purl":"pkg:golang/github.com/zincsearch/zincsearch","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.1.9","status":"affected","fixed":"0.3.2"}],"ecosystem":"Go","package":"github.com/zinclabs/zinc","purl":"pkg:golang/github.com/zinclabs/zinc","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.1.9","status":"affected","fixed":"0.3.2"}],"ecosystem":"Go","package":"github.com/zinclabs/zinc","purl":"pkg:golang/github.com/zinclabs/zinc","source":"go"},{"ranges":[{"status":"affected","introduced":"0.1.9","lastAffected":"0.3.1"}],"vendor":"zinclabs","product":"zinc","cpe":"cpe:2.3:a:zinclabs:zinc:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/zinclabs/zinc/commit/3376c248bade163430f9347742428f0a82cd322d","tags":["fix","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://www.mend.io/vulnerability-database/CVE-2022-32171","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32171","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/zincsearch/zincsearch/commit/3376c248bade163430f9347742428f0a82cd322d","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-4fgv-8448-gf82","tags":["advisory"],"sources":["go"]}],"credits":["Mend Vulnerability Research Team (MVR)"],"assigner":"Mend","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-32171","url":"https://www.cve.org/CVERecord?id=CVE-2022-32171","licence":"CVE Terms of Use","modified":"2024-09-17T01:41:50.446Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4fgv-8448-gf82","url":"https://github.com/advisories/GHSA-4fgv-8448-gf82","licence":"CC-BY-4.0","modified":"2024-08-20T20:58:47.987Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-1895","url":"https://pkg.go.dev/vuln/GO-2023-1895","licence":"CC-BY-4.0","modified":"2026-03-03T04:51:29.617Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-32171","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32171","licence":"Public domain","modified":"2026-06-17T04:46:48.560Z"}],"updatedAt":"2026-11-25T22:58:15.426Z","epss":{"score":0.00659,"percentile":0.52799,"date":"2026-12-01T12:00:22.000Z"}}