CVE-2018-20149 Cross-site scripting in n/a
Authors can upload crafted files bypassing MIME restrictions to execute cross-site scripting attacks in WordPress installations using Apache.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-20149?
CVE-2018-20149 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 14 Dec 2018. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
In WordPress before 4.9.9 and 5.x before 5.0.1, when the Apache HTTP Server is used, authors could upload crafted files that bypass intended MIME type restrictions, leading to XSS, as demonstrated by a .jpg file without JPEG data.
Weakness: CWE-79
Which versions are affected by CVE-2018-20149?
It affects 2 products.
Products include Debian Debian Linux, Wordpress Wordpress.
How do I fix CVE-2018-20149?
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-2018-20149 being exploited?
There is no known exploitation of CVE-2018-20149 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2018-20149, GHSA-33wf-jvrq-cxjv, UBUNTU-CVE-2018-20149.