title: Gogs - XSS
description: In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover.
problem types: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
affected:
{
vendor: gogs
product: gogs
versions:
version: v0.6.5, status: affected, lessThan: unspecified, versionType: custom
version: unspecified, lessThanOrEqual: v0.12.10, status: affected, versionType: custom
}
metrics:
other: [
type: unknown
content: {'vectorString': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H', 'attackComplexity': 'LOW', 'attackVector': 'NETWORK', 'availabilityImpact': 'HIGH', 'confidentialityImpact': 'HIGH', 'integrityImpact': 'HIGH', 'privilegesRequired': 'LOW', 'scope': 'CHANGED', 'userInteraction': 'REQUIRED', 'version': 3.1, 'baseScore': 9, 'baseSeverity': 'CRITICAL'}
]