PT-2018-13849

CVE-2018-17031

·

Published

2018-09-14

·

Updated

2024-08-20

Description by

CVSS 3.1
6.1
Medium
MetricsAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Gogs version 0.11.53
Description The issue allows an attacker to trigger MIME type sniffing using a crafted .eml file, leading to XSS. This is demonstrated by Internet Explorer and is caused by the lack of an "X-Content-Type-Options: nosniff" header.
Recommendations For Gogs version 0.11.53, consider implementing the "X-Content-Type-Options: nosniff" header to prevent MIME type sniffing and mitigate the risk of XSS. As a temporary workaround, restrict the handling of .eml files until a patch is available.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-PX5R-FQJ6-R2F8
GO-2023-1972
Found an issue in the description? Have something to add? Feel free to write us 👾