CVE-2017-0368 Make rawHTML mode not apply to system messages
An XSS vulnerability in MediaWiki allows attackers to inject scripts via system messages due to improper handling of rawHTML mode.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-0368?
CVE-2017-0368 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, with no action from the victim.
Official description
Mediawiki before 1.28.1 / 1.27.2 / 1.23.16 contains a flaw making rawHTML mode apply to system messages.
Weakness: CWE-20
Which versions are affected by CVE-2017-0368?
It affects 2 products.
Products include Debian Debian Linux, Mediawiki Mediawiki.
How do I fix CVE-2017-0368?
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-0368 being exploited?
There is no known exploitation of CVE-2017-0368 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2017-0368, GHSA-rgj4-22m7-2r9j.