{"id":"CVE-2022-32172","aliases":["EUVD-2023-1990","GHSA-7j6x-42mm-p7jm","GO-2023-1896"],"status":"published","title":"Zinc - Cross-Site Scripting","description":"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.","severity":{"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","level":"medium","from":"ghsa"},"epss":{"day":"2026-11-09","score":0.00658,"percentile":0.51796,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-10-06T17:13:36Z","modified":"2026-10-28T02:31:01Z","fixes":[{"ecosystem":"Go","package":"github.com/zincsearch/zincsearch","fixed_in":["0.3.2"],"sources":["ghsa","osv"]},{"ecosystem":"Go","package":"github.com/zinclabs/zinc","fixed_in":["0.3.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/zincsearch/zincsearch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.9"},{"fixed":"0.3.2"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/zinclabs/zinc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.9"},{"fixed":"0.3.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/zincsearch/zincsearch","ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.9"},{"fixed":"0.3.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/zinclabs/zinc","ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.9"},{"fixed":"0.3.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/zinclabs/zinc","ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.9"},{"fixed":"0.3.2"}]}]}],"products":[{"vendor":"zinc","product":"zinc"},{"vendor":"zinclabs","product":"zinc"}],"references":[{"url":"https://www.mend.io/vulnerability-database/CVE-2022-32172","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/zinclabs/zinc/commit/3376c248bade163430f9347742428f0a82cd322d","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32172","tags":["advisory"]},{"url":"https://github.com/zincsearch/zincsearch/commit/3376c248bade163430f9347742428f0a82cd322d","tags":["web"]},{"url":"https://github.com/advisories/GHSA-7j6x-42mm-p7jm","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32172.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-32172","title":"Zinc - Cross-Site Scripting","description":"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.","status":"published","published":"2022-10-06T17:13:36.407Z","modified":"2024-09-16T22:02:26.57Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:36.917505Z"}],"euvd":[{"id":"EUVD-2023-1990","description":"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.","status":"published","published":"2022-10-06T17:13:36Z","modified":"2024-09-16T22:02:26Z","updated_at":"2026-11-03T00:55:06.207566Z"}],"ghsa":[{"id":"GHSA-7j6x-42mm-p7jm","title":"Zinc Cross-site Scripting vulnerability","description":"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.","status":"published","published":"2023-07-06T19:24:00Z","modified":"2023-07-06T21:14:38Z","cvss":[{"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","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:55.91458Z"}],"nvd":[{"id":"CVE-2022-32172","description":"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.","status":"published","published":"2022-10-06T18:16:03.63Z","modified":"2026-06-17T04:46:48.66Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:29.026521Z"}],"osv":[{"id":"GHSA-7j6x-42mm-p7jm","title":"Zinc Cross-site Scripting vulnerability","description":"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.","status":"published","published":"2023-07-06T19:24:00Z","modified":"2024-08-20T20:58:39.655453Z","cvss":[{"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","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:41.002603Z"},{"id":"CVE-2022-32172","title":"Zinc - Cross-Site Scripting","description":"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.","status":"published","published":"2022-10-06T17:13:36.407Z","modified":"2026-10-28T02:31:01.114545535Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:25.860945Z"},{"id":"GO-2023-1896","title":"Zinc Cross-site Scripting vulnerability in github.com/zinclabs/zinc","description":"Zinc Cross-site Scripting vulnerability in github.com/zinclabs/zinc","status":"published","published":"2024-08-20T20:31:35Z","modified":"2026-03-03T04:53:58.523013Z","updated_at":"2026-11-02T15:47:01.185262Z"}]}}
