5.4medium
Zinc - Stored XSS
- Severity
- 5.4medium CVSS:3.1 by GitHub
- Exploit likelihood
- 0.66% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Mend
- Also known as
- GHSA-4fgv-8448-gf82GO-2023-1895
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
| Product or package | Versions | Reported by |
|---|---|---|
| zinc zinc | from v0.1.9 before unspecified, from unspecified up to v0.3.1 | CVE List |
| github.com/zincsearch/zincsearch (Go) | from 0.1.9 before 0.3.2 | GitHub Advisory Database |
| github.com/zinclabs/zinc (Go) | from 0.1.9 before 0.3.2 | GitHub Advisory Database, Go Vulnerability Database |
| zinclabs zinc | from 0.1.9 up to 0.3.1 | NVD |
Classification
What each source says
CVE List
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.
Go Vulnerability Database
Zinc Cross-site Scripting vulnerability in github.com/zinclabs/zinc
NVD (es)
En Zinc, versiones v0.1.9 hasta v0.3.1, son vulnerables a un ataque de tipo Cross-Site Scripting Almacenado cuando es usada la funcionalidad delete user. Cuando un usuario autenticado elimina un usuario que presenta una carga útil de tipo XSS en el campo user id, la carga útil javascript será ejecutada y permitirá a un atacante acceder a las credenciales del usuario
References
| https://github.com/zinclabs/zinc/commit/3376c248bade163430f9347742428f0a82cd322d | fix, patch, third-party-advisory, web | |
| https://www.mend.io/vulnerability-database/CVE-2022-32171 | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-32171 | advisory | |
| https://github.com/zincsearch/zincsearch/commit/3376c248bade163430f9347742428f0a82cd322d | web | |
| https://github.com/advisories/GHSA-4fgv-8448-gf82 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-32171 changed 2024-09-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4fgv-8448-gf82 changed 2024-08-20 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2023-1895 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2022-32171 changed 2026-06-17 | Public domain |