CVE-2022-32171 json
Zinc - Stored XSS
published 2022-10-06 4 y ago modified 2026-06-17 4 mo ago also GHSA-4fgv-8448-gf82 , GO-2023-1895 , EUVD-2023-1950
- cvss
- 5.4
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/zincsearch/zincsearch 0.3.2
- go github.com/zinclabs/zinc 0.3.2
Exploit prediction
0.66% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/zincsearch/zincsearch | >=0.1.9, <0.3.2 |
0.3.2 |
| go | github.com/zinclabs/zinc | >=0.1.9, <0.3.2 |
0.3.2 |
Affected products
- zinc zinc
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/zinclabs/zinc/commit/3376c248bade163430f9347742428f0a82cd322d
web, patch, third-party-advisory
-
github.com
/zincsearch/zincsearch/commit/3376c248bade163430f9347742428f0a82cd322d
web
-
mend.io
/vulnerability-database/CVE-2022-32171
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-32171
advisory
-
github.com
/advisories/GHSA-4fgv-8448-gf82
advisory
Sources
- CVE List CVE-2022-32171
- GitHub Advisory GHSA-4fgv-8448-gf82
- NVD CVE-2022-32171
- OSV GO-2023-1895
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.