CVE-2018-16484 Cross-Site Scripting in m-server

Medium 5.4 Published Updated

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.

PackageAffectedFixed in
m-server npmAll versions1.4.2
m-server npmAll versions1.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.

Sources

Also known as GHSA-gmxv-xf2q-6j8m.

Is CVE-2018-16484 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free