{"id":"CVE-2022-32172","published":"2022-10-06T17:13:36Z","modified":"2024-09-16T22:02:26Z","title":"Zinc - Cross-Site Scripting","vendor":"zinc","product":"zinc","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00658,"percentile":0.52447,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://www.mend.io/vulnerability-database/CVE-2022-32172","tags":[]},{"url":"https://github.com/zinclabs/zinc/commit/3376c248bade163430f9347742428f0a82cd322d","tags":[]}],"priority":{"score":10.5,"factors":[{"name":"EPSS percentile","points":10.49}]},"vendorSlug":"zinc","affectedVersions":[{"vendor":"zinc","product":"zinc","versions":[">= v0.1.9, < unspecified",">= unspecified, <= v0.3.1"]}],"solutions":{"items":["Update version to v0.3.2 or later"],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/zincsearch/zincsearch","vulnerableRanges":[">=0.1.9, <0.3.2"],"patched":["0.3.2"],"from":["GHSA-7j6x-42mm-p7jm"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/zinclabs/zinc","vulnerableRanges":[">=0.1.9, <0.3.2"],"patched":["0.3.2"],"from":["GHSA-7j6x-42mm-p7jm","GO-2023-1896"],"provenance":"source"}],"summary":{"text":"The flaw is a stored cross-site scripting vulnerability in the Zinc product, specifically in its template deletion functionality, where a template name is not properly neutralised before being rendered. An attacker who can get an authenticated user to delete a template whose name field contains a script payload can have that JavaScript executed in the user's session, potentially exposing the user's credentials.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:37Z"},"euvd":{"id":"EUVD-2023-1990","exploited":false,"provenance":"source"}}