{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-32172","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.","descriptionLong":"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.","published":"2022-10-06T17:13:36.407Z","updated":"2026-10-28T02:31:01.114545535Z","reserved":"2022-05-31T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"Mend","metric":{"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","rating":"medium","source":"GitHub"},"metrics":[{"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["zinc"],"affectedProducts":[{"vendor":"zinc","product":"zinc","defaultStatus":null,"versions":[{"version":"v0.1.9","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","lessThanOrEqual":"v0.3.1","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/zincsearch/zincsearch","purl":"pkg:golang/github.com/zincsearch/zincsearch","ranges":[">=0.1.9 <0.3.2"],"fixed":["0.3.2"],"advisory":"GHSA-7j6x-42mm-p7jm"},{"ecosystem":"Go","name":"github.com/zinclabs/zinc","purl":"pkg:golang/github.com/zinclabs/zinc","ranges":[">=0.1.9 <0.3.2"],"fixed":["0.3.2"],"advisory":"GHSA-7j6x-42mm-p7jm"}],"cwes":["CWE-79"],"aliases":["GHSA-7j6x-42mm-p7jm","GO-2023-1896"],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32172.json","tags":["advisory"]},{"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"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00658,"epssPercentile":0.52307,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-32172","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-32172","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-32172","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7j6x-42mm-p7jm","ok":true,"note":"GHSA-7j6x-42mm-p7jm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-32172","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}