CVE-2017-0365 XSS in SearchHighlighter::highlightText() [requires non-default config]
Cross-site scripting in MediaWiki's search highlighter allows attackers to inject scripts when specific non-default configurations are enabled.
- 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-2017-0365?
CVE-2017-0365 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 13 Apr 2018. 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
Mediawiki before 1.28.1 / 1.27.2 / 1.23.16 contains a XSS vulnerability in SearchHighlighter::highlightText() with non-default configurations.
Weakness: CWE-79
Which versions are affected by CVE-2017-0365?
It affects 2 products.
Products include Debian Debian Linux, Mediawiki Mediawiki.
How do I fix CVE-2017-0365?
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-2017-0365 being exploited?
There is no known exploitation of CVE-2017-0365 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2017-0365, GHSA-228h-5w69-mghw.