Description
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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2022-4849 | 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. |
Github GHSA |
GHSA-px5r-fqj6-r2f8 | Gogs XSS Vulnerability |
References
| Link | Providers |
|---|---|
| https://github.com/gogs/gogs/issues/5397 |
|
History
No history.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-05T10:39:59.632Z
Reserved: 2018-09-13T00:00:00.000Z
Link: CVE-2018-17031
No data.
Status : Modified
Published: 2018-09-14T02:29:00.390
Modified: 2024-11-21T03:53:44.420
Link: CVE-2018-17031
No data.
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA