VDB
Sign up
MEDIUM

GHSA-9hx4-qm7h-x84j

Cross-site Scripting in Gogs

Quick fix

GHSA-9hx4-qm7h-x84j — gogs.io/gogs: upgrade to the fixed version with the command below.

go get gogs.io/gogs@v0.5.8

Details

Cross-site scripting (XSS) vulnerability in models/issue.go in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x before 0.5.8 allows remote attackers to inject arbitrary web script or HTML via the text parameter to api/v1/markdown.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/gogs.io/gogs
Introduced in: 0.3.1Fixed in: 0.5.8
Fixgo get gogs.io/gogs@v0.5.8

References