CVE-2015-8622 Cross-site scripting in n/a
Authenticated users can inject arbitrary scripts via wikitext in MediaWiki when configured with relative URLs, enabling XSS attacks.
- 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-2015-8622?
CVE-2015-8622 is a medium-severity cross-site scripting vulnerability in Mediawiki Mediawiki, published on 23 Mar 2017. 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 MediaWiki before 1.23.12, 1.24.x before 1.24.5, 1.25.x before 1.25.4, and 1.26.x before 1.26.1, when is configured with a relative URL, allows remote authenticated users to inject arbitrary web script or HTML via wikitext, as demonstrated by a wikilink to a page named "javascript:alert('XSS!')."
Weakness: CWE-79
Which versions are affected by CVE-2015-8622?
It affects 1 product.
Products include Mediawiki Mediawiki.
How do I fix CVE-2015-8622?
Upgrade to a fixed version.
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-2015-8622 being exploited?
There is no known exploitation of CVE-2015-8622 in the wild and no public exploit code.
Other vulnerabilities in Mediawiki Mediawiki
Sources
Also known as DEBIAN-CVE-2015-8622, GHSA-p8m9-vcch-wc8g.