CVE-2022-32172 zinclabs zinc: Cross-site Scripting
zinclabs zinc: no CVSS score yet. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/zincsearch/zincsearch 0.3.2.
On this page
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.
- EPSS
- 0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
github.com/zincsearch/zincsearch(Go): fixed in 0.3.2github.com/zinclabs/zinc(Go): fixed in 0.3.2- Patch: https://github.com/zinclabs/zinc/commit/3376c248bade163430f9347742428f0a82cd322d
Ask an AI about this CVE
Show the prompt
Explain CVE-2022-32172 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-32172?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-32172?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-32172 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| zinc | from v0.1.9 before unspecified |
| zinc | through v0.3.1 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-7j6x-42mm-p7jm | Go | github.com/zincsearch/zincsearch | >=0.1.9 <0.3.2 | 0.3.2 |
| GHSA-7j6x-42mm-p7jm | Go | github.com/zinclabs/zinc | >=0.1.9 <0.3.2 | 0.3.2 |
| GO-2023-1896 | Go | github.com/zinclabs/zinc | >=0.1.9 <0.3.2 | 0.3.2 |
Attack patterns (CAPEC)
- CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
- CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
- CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
- CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
- CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
- CAPEC-592 Stored XSS Likelihood: High · Severity: Very High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.