Cross-site Scripting (XSS) Affecting gogs package, versions <0.12.7-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.72% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE320-GOGS-7011798
  • published23 May 2024
  • disclosed5 May 2022

Introduced: 5 May 2022

CVE-2022-1464  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Alpine:3.20 gogs to version 0.12.7-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gogs package and not the gogs package as distributed by Alpine. See How to fix? for Alpine:3.20 relevant fixed versions and status.

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 .

CVSS Base Scores

version 3.1