{"id":"CVE-2022-32172","summary":"Zinc - Cross-Site Scripting","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":["GHSA-7j6x-42mm-p7jm","GO-2023-1896"],"modified":"2026-08-27T03:48:44.293610466Z","published":"2022-10-06T17:13:36.407Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32172.json","cna_assigner":"Mend"},"references":[{"type":"WEB","url":"https://www.mend.io/vulnerability-database/CVE-2022-32172"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32172.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32172"},{"type":"FIX","url":"https://github.com/zinclabs/zinc/commit/3376c248bade163430f9347742428f0a82cd322d"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/zincsearch/zincsearch","events":[{"introduced":"166f7c50307bf3e17279e42e280a71dee13a11fb"},{"fixed":"3376c248bade163430f9347742428f0a82cd322d"}],"database_specific":{"extracted_events":[{"introduced":"0.1.9"},{"last_affected":"0.3.1"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:zinclabs:zinc:*:*:*:*:*:*:*:*"}}],"versions":["v0.1.9","v0.3.1","v0.3.0","v0.2.9","v0.2.8","v0.2.7","v0.2.6","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-32172.json"}}],"schema_version":"1.9.0"}