CVE-2022-32171
Zinc - Stored XSS
Also known as GHSA-4fgv-8448-gf82, GO-2023-1895
Mitigation
- Upgrade github.com/zincsearch/zincsearch to 0.3.2 or later.
- Upgrade github.com/zinclabs/zinc to 0.3.2 or later.
Who should check
- Projects that depend on Go package github.com/zincsearch/zincsearch (>= 0.1.9, < 0.3.2)
- Projects that depend on Go package github.com/zinclabs/zinc (>= 0.1.9, < 0.3.2)
- Anyone running zinc >= v0.1.9, < unspecified; >= unspecified, <= v0.3.1
Vulnerability facts
- Affected
- github.com/zincsearch/zincsearch >= 0.1.9, < 0.3.2; github.com/zinclabs/zinc >= 0.1.9, < 0.3.2
- Fixed in
- 0.3.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.67% chance of exploitation in 30 days (percentile 47, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
In Zinc, versions v0.1.9 through v0.3.1 are vulnerable to Stored Cross-Site Scripting when using the delete user functionality. When an authenticated user deletes a user having a XSS payload in the user id field, the javascript payload will be executed and allow an attacker to access the user’s credentials.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/zincsearch/zincsearch | >= 0.1.9, < 0.3.2 | 0.3.2 | osv |
| Go github.com/zinclabs/zinc | >= 0.1.9, < 0.3.2 | 0.3.2 | osv |
| zinc | >= v0.1.9, < unspecified; >= unspecified, <= v0.3.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-32171. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-32171.md Affected: github.com/zincsearch/zincsearch >= 0.1.9, < 0.3.2; github.com/zinclabs/zinc >= 0.1.9, < 0.3.2 Fixed in: 0.3.2 Steps: 1. Search this machine and project for github.com/zincsearch/zincsearch (Go), github.com/zinclabs/zinc (Go), zinc: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2022-32171 being exploited?
There is no confirmed exploitation: CVE-2022-32171 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.67% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-32171?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2022-32171?
github.com/zincsearch/zincsearch >= 0.1.9, < 0.3.2; github.com/zinclabs/zinc >= 0.1.9, < 0.3.2.
Is there a fix for CVE-2022-32171?
Yes. Fixed in 0.3.2. Upgrade github.com/zincsearch/zincsearch to 0.3.2 or later. Upgrade github.com/zinclabs/zinc to 0.3.2 or later.
How do I check if I'm affected by CVE-2022-32171?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.