ADVISORIES

GitHub Advisory Database

GHSA-px5r-fqj6-r2f8

Gogs XSS Vulnerability

Details

In Gogs 0.11.53, an attacker can use a crafted .eml file to trigger MIME type sniffing, which leads to XSS, as demonstrated by Internet Explorer, because an "X-Content-Type-Options: nosniff" header is not sent.

Affected packages

EcosystemPackageAffected versions
Gogogs.io/gogs
All versions before 0.12.0 (fixed in 0.12.0)

References