CVE-2018-3716 Stored Cross-Site Scripting in simplehttpserver

Medium 5.4 Published Updated

Attackers can execute arbitrary scripts in victim browsers via malicious file names in the simplehttpserver Node.js module.

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-3716?

CVE-2018-3716 is a medium-severity cross-site scripting vulnerability in HackerOne simplehttpserver node module, published on 7 Jun 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

simplehttpserver node module suffers from a Cross-Site Scripting vulnerability to a lack of validation of file names.

Weakness: CWE-79

Which versions are affected by CVE-2018-3716?

2 open source packages ship an affected version, including simplehttpserver. It affects 1 product.

PackageAffectedFixed in
simplehttpserver npmAll versions0.1.0
simplehttpserver npmAll versions0.1.0

Products include Simplehttpserver Project Simplehttpserver.

How do I fix CVE-2018-3716?

Upgrade simplehttpserver to 0.1.0 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-3716 being exploited?

There is no known exploitation of CVE-2018-3716 in the wild and no public exploit code.

Sources

Also known as GHSA-jrhj-2j3q-xf3v.

Is CVE-2018-3716 in your software?

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

Check your SBOMs for free