medium5.4
CVE-2022-32171
Zinc Cross-site Scripting vulnerability
Impact
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 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
| Vendor | Product | Affected versions |
|---|---|---|
| Zinclabs | Zinc | from 0.1.9 through 0.3.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/zinclabs/zinc/commit/3376c248bade163430f9347742428f0a82cd322d
- https://www.mend.io/vulnerability-database/CVE-2022-32171
- https://github.com/advisories/GHSA-4fgv-8448-gf82
- https://nvd.nist.gov/vuln/detail/CVE-2022-32171
- https://github.com/zincsearch/zincsearch/commit/3376c248bade163430f9347742428f0a82cd322d