CVE-2018-16484 Cross-Site Scripting in m-server
An attacker can execute malicious JavaScript or HTML via unescaped folder names in the m-server module, potentially compromising user sessions.
- 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-16484?
CVE-2018-16484 is a medium-severity cross-site scripting vulnerability in HackerOne m-server, published on 1 Feb 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A XSS vulnerability was found in module m-server <1.4.2 that allows malicious Javascript code or HTML to be executed, due to the lack of escaping for special characters in folder names.
Weakness: CWE-79
Which versions are affected by CVE-2018-16484?
2 open source packages ship an affected version, including m-server. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
m-server npm | All versions | 1.4.2 |
m-server npm | All versions | 1.4.2 |
Products include M-Server Project M-Server.
How do I fix CVE-2018-16484?
Upgrade m-server to 1.4.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-16484 being exploited?
There is no known exploitation of CVE-2018-16484 in the wild and no public exploit code.
Other vulnerabilities in HackerOne m-server
Sources
Also known as GHSA-gmxv-xf2q-6j8m.