Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in gogs - #VU128086

 

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in gogs - #VU128086

Published: May 31, 2022 / Updated: April 27, 2026


Vulnerability identifier: #VU128086
CSH Severity: Low
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: N/A
CWE-ID: CWE-80
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
gogs
Software vendor:
gogs.io

Description

The vulnerability allows a remote user to execute script in their own web session.

The vulnerability exists due to improper neutralization of script-related html tags in CSRF cookie handling when processing a manipulated CSRF cookie value. A remote user can manipulate the CSRF cookie to execute script in their own web session.

The issue is described as having no known practical impact beyond self-xss.


Remediation

Install security update from vendor's website.

External links