SB2022050545 - Cross-site scripting in gogs
Published: May 5, 2022 Updated: April 27, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Cross-site scripting (CVE-ID: CVE-2022-1464)
The vulnerability allows a remote user to execute arbitrary script in a victim's browser.
The vulnerability exists due to cross-site scripting in issue attachments when serving a crafted SVG file uploaded as an issue attachment. A remote user can upload a specially crafted SVG file to execute arbitrary script in a victim's browser.
Only installations that allow uploading SVG files as issue attachments are vulnerable.
Remediation
Install update from vendor's website.