CVE-2018-14840 Subrion CMS Cross-site Scripting
Attackers can upload malicious HTML files to execute scripts in the context of other users, potentially leading to session hijacking or site defacement.
- 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-2018-14840?
CVE-2018-14840 is a medium-severity cross-site scripting vulnerability in n/a, published on 2 Aug 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
uploads/.htaccess in Subrion CMS 4.2.1 allows XSS because it does not block .html file uploads (but does block, for example, .htm file uploads).
Weakness: CWE-79
Which versions are affected by CVE-2018-14840?
2 open source packages ship an affected version, including intelliants/subrion. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
intelliants/subrion Packagist | All versions | 4.2.2 |
intelliants/subrion Packagist | All versions | 4.2.2 |
Products include Intelliants Subrion.
How do I fix CVE-2018-14840?
Upgrade intelliants/subrion to 4.2.2 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-2018-14840 being exploited?
There is no known exploitation of CVE-2018-14840 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as GHSA-vhqr-3gr2-7px9.