Skip to content

Gogs vulnerable to Cross-site Scripting

Critical severity GitHub Reviewed Published Oct 11, 2022 to the GitHub Advisory Database • Updated Feb 2, 2023

Package

gomod gogs.io/gogs (Go)

Affected versions

>= 0.6.5, <= 0.12.10

Patched versions

None

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.

References

Published by the National Vulnerability Database Oct 11, 2022
Published to the GitHub Advisory Database Oct 11, 2022
Reviewed Oct 11, 2022
Last updated Feb 2, 2023

Severity

Critical
9.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2022-32174

GHSA ID

GHSA-mcjj-2fvq-mc3r

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.