Advisory

GHSA-px5r-fqj6-r2f8

Also known as: CVE-2018-17031, GO-2023-1972

Summary

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-14 02:01 UTC
Modified
2024-08-20 20:58 UTC

Affected packages and fixes

gogs.io/gogs

Go · All systems

Affected

  • introduced 0, fixed 0.12.0 (semver)

Fixed versions

0.12.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences