CVE-2018-18940 Cross-site scripting in n/a

Medium 6.1 Published Updated

Reflected XSS in the default SnoopServlet allows remote attackers to execute arbitrary JavaScript in victim browsers via crafted query parameters.

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
None listed

What is CVE-2018-18940?

CVE-2018-18940 is a medium-severity cross-site scripting vulnerability in n/a, published on 31 Jan 2019. 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

servlet/SnoopServlet (a servlet installed by default) in Netscape Enterprise 3.63 has reflected XSS via an arbitrary parameter=[XSS] in the query string. A remote unauthenticated attacker could potentially exploit this vulnerability to supply malicious HTML or JavaScript code to a vulnerable web application, which is then reflected back to the victim and executed by the web browser. NOTE: this product is discontinued.

Weakness: CWE-79

Which versions are affected by CVE-2018-18940?

It affects 1 product.

Products include Netscape Enterprise Server.

How do I fix CVE-2018-18940?

No fix has been published for CVE-2018-18940 yet. Limit exposure of the affected software until one is available.

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-18940 being exploited?

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

Sources

Also known as GHSA-q29r-9jw6-5438.

Is CVE-2018-18940 in your software?

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

Check your SBOMs for free