title: Zinc - Stored XSS
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.
problem types: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
affected:
{
vendor: zinc
product: zinc
versions:
version: v0.1.9, status: affected, lessThan: unspecified, versionType: custom
version: unspecified, lessThanOrEqual: v0.3.1, status: affected, versionType: custom
}
metrics:
other: [
type: unknown
content: {'vectorString': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N', 'attackComplexity': 'LOW', 'attackVector': 'NETWORK', 'availabilityImpact': 'NONE', 'confidentialityImpact': 'LOW', 'integrityImpact': 'LOW', 'privilegesRequired': 'LOW', 'scope': 'CHANGED', 'userInteraction': 'REQUIRED', 'version': 3.1, 'baseScore': 5.4, 'baseSeverity': 'MEDIUM'}
]
solutions: Update version to v0.3.2 or later