Home / zinc / zinc / CVE-2022-32172
CVE-2022-32172: is it exploited, and which versions of zinc are affected and fixed?
CVE-2022-32172 is a cross-site scripting (XSS) vulnerability in zinc. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: github.com/zincsearch/zincsearch from 0.1.9 before 0.3.2 and github.com/zinclabs/zinc from 0.1.9 before 0.3.2 (GitHub advisory GHSA-7j6x-42mm-p7jm). Fixed in 0.3.2 (GitHub advisory GHSA-7j6x-42mm-p7jm). Severity: Medium (from GitHub).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 28, 2026, 19:43 UTC and NVD November 19, 2026, 07:44 UTC.
What is CVE-2022-32172?
Zinc - Cross-Site Scripting
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.
From the CVE record by Mend, last updated September 16, 2024, 22:02 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| zinc | zinc | from v0.1.9 before unspecified through v0.3.1 | unspecified |
As the CVE record by Mend states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| 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 | GHSA-7j6x-42mm-p7jm |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 6, 2023. Summary: Zinc Cross-site Scripting vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| zinclabs | zinc | from 0.1.9 through 0.3.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:46 UTC.
Is CVE-2022-32172 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.66% probability of exploitation activity in the next 30 days, percentile 52.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
How do I fix it? (from the CVE record)
Update version to v0.3.2 or later
Where are the vendor advisories and references?
- https://www.mend.io/vulnerability-database/CVE-2022-32172
- https://github.com/zinclabs/zinc/commit/3376c248bade163430f9347742428f0a82cd322d
Who found and reported it?
- Mend Vulnerability Research Team (MVR) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- May 31, 2022
- Published
- October 6, 2022, 17:13 UTC
- CVE record updated
- September 16, 2024, 22:02 UTC by Mend
- NVD
- Modified, last modified June 17, 2026, 04:46 UTC
- Last checked
- CVE list November 28, 2026, 19:43 UTC; NVD November 19, 2026, 07:44 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect zinc?
- Oct 6, 2022CVE-2022-32171 zinc: cross-site scripting (XSS)
Questions about CVE-2022-32172
Is CVE-2022-32172 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.66% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of zinc are affected by CVE-2022-32172?
github.com/zincsearch/zincsearch from 0.1.9 before 0.3.2 and github.com/zinclabs/zinc from 0.1.9 before 0.3.2, per the GitHub advisory GHSA-7j6x-42mm-p7jm. The tables above give every range the sources list.
Which version fixes CVE-2022-32172?
0.3.2, per the GitHub advisory GHSA-7j6x-42mm-p7jm. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-32172?
Medium (from GitHub). The severity table above shows each score with its source.
Where is the official record of CVE-2022-32172?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.