CVE-2014-8683 Cross-site Scripting in Gogs
Remote attackers can inject arbitrary web script or HTML via the markdown API, potentially compromising user sessions or data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2014-8683?
CVE-2014-8683 is a medium-severity cross-site scripting vulnerability in n/a, published on 21 Nov 2014. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2014-8683?
3 open source packages ship an affected version, including gogs.io/gogs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gogs.io/gogs Go | From 0.3.1 | 0.5.8 |
gogs.io/gogs Go | From 0.3.1 | 0.5.8 |
gogs.io/gogs Go | From 0.3.1 | 0.5.8 |
Products include Gogits Gogs.
How do I fix CVE-2014-8683?
Upgrade gogs.io/gogs to 0.5.8 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2014-8683 being exploited?
There is no known exploitation of CVE-2014-8683 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-9hx4-qm7h-x84j, GO-2022-0642.