XSS in Gogs
CVE-2022-1464
Stored xss bug in GitHub repository gogs/gogs prior to 0.12.7. As the repo is public , any user can view the report and when open the attachment then xss is executed. This bug allow executed any javascript code in victim account .
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.007, 54.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Gogs
- Gogs Gogs/gogs — versions unspecified
Weakness classification (CWE)
References
- huntr.dev/bounties/34a12146-3a5d-4efc-a0f8-7a3ae04b198d (Exploit, Third Party Advisory)
- github.com/gogs/gogs/commit/bc77440b301ac8780698be91dff1ac33b7cee850 (Patch, Third Party Advisory)