GitHub Advisory Database
GHSA-7j6x-42mm-p7jm
Zinc Cross-site Scripting vulnerability
Details
In Zinc, versions v0.1.9 through v0.3.1 are vulnerable to Stored Cross-Site Scripting when using the delete template functionality. When an authenticated user deletes a template with a XSS payload in the name field, the Javascript payload will be executed and allow an attacker to access the user’s credentials.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/zincsearch/zincsearch | From 0.1.9 before 0.3.2 (fixed in 0.3.2) |
| Go | github.com/zinclabs/zinc | From 0.1.9 before 0.3.2 (fixed in 0.3.2) |