CVE-2018-16484
Description
A stored cross-site scripting (XSS) vulnerability in m-server <1.4.2 allows execution of malicious JavaScript or HTML via folder names due to missing escaping.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A stored cross-site scripting (XSS) vulnerability in m-server <1.4.2 allows execution of malicious JavaScript or HTML via folder names due to missing escaping.
## Vulnerability m-server versions prior to 1.4.2 contain a cross-site scripting (XSS) vulnerability in the handling of folder names. The module does not escape special characters in folder names [1][2][3]. An attacker who can create or upload folders with crafted names can inject arbitrary JavaScript or HTML code that will execute in the context of users who browse or list those folders.
Exploitation
An attacker with the ability to create folder names (for example, through file upload or a shared directory feature) can include malicious payloads such as `` in a folder name. When another user accesses the web interface that lists folders, the payload is rendered and executed in the user's browser [1]. No authentication or special privileges are required beyond the ability to create folders.
Impact
Successful exploitation leads to arbitrary JavaScript execution in the victim's browser within the context of the m-server application [3]. This can result in session hijacking, data theft, defacement, or further attacks against the application or its users.
Mitigation
Update to m-server version 1.4.2 or later, which includes proper escaping of special characters in folder names [2][3]. No workaround is available; users running an affected version should upgrade immediately.
AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
m-servernpm | < 1.4.2 | 1.4.2 |
Affected products
2- HackerOne/m-serverv5Range: <1.4.2
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-gmxv-xf2q-6j8mghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2018-16484ghsaADVISORY
- github.com/nodejs/security-wg/blob/master/vuln/npm/467.jsonghsaWEB
- hackerone.com/reports/319794ghsax_refsource_MISCWEB
- www.npmjs.com/advisories/729ghsaWEB
News mentions
0No linked articles in our index yet.