GitHub Advisoryadvisory · Go

GHSA-7j6x-42mm-p7jm Zinc Cross-site Scripting vulnerability

MEDIUM Published 2023-07-06 Modified 2023-07-06 Official page ↗
Aliases
CVE-2022-32172
Ecosystem
Go
Packages
github.com/zincsearch/zincsearch, github.com/zinclabs/zinc
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2023-07-06

Affected packages

• Go github.com/zincsearch/zincsearch: >= 0.1.9, < 0.3.2 → fixed in 0.3.2 • Go github.com/zinclabs/zinc: >= 0.1.9, < 0.3.2 → fixed in 0.3.2

Description

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.

Related

Alias · CVE (1)

  • CVE-2022-32172 In Zinc, versions v0.1.9 through v0.3.1 are vulnerable to Stored Cross-Site Scripting when using the delete template functionality. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References