CVE-2022-32171
JSON

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 packageVersionsReported by
zinc zincfrom v0.1.9 before unspecified, from unspecified up to v0.3.1CVE List
github.com/zincsearch/zincsearch (Go)from 0.1.9 before 0.3.2GitHub Advisory Database
github.com/zinclabs/zinc (Go)from 0.1.9 before 0.3.2GitHub Advisory Database, Go Vulnerability Database
zinclabs zincfrom 0.1.9 up to 0.3.1NVD

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

Sources

SourceRecordLicence
CVE ListCVE-2022-32171 changed 2024-09-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-4fgv-8448-gf82 changed 2024-08-20CC-BY-4.0
Go Vulnerability DatabaseGO-2023-1895 changed 2026-03-03CC-BY-4.0
NVDCVE-2022-32171 changed 2026-06-17Public domain