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

Medium 6.1 Published Updated

An attacker can execute arbitrary JavaScript in a victim's browser via a crafted link in the OCS Inventory NG login or search forms.

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
Available

What is CVE-2018-1000557?

CVE-2018-1000557 is a medium-severity cross-site scripting vulnerability in n/a, published on 26 Jun 2018. 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

OCS Inventory OCS Inventory NG version ocsreports 2.4 contains a Cross Site Scripting (XSS) vulnerability in login form and search functionality that can result in An attacker is able to execute arbitrary (javascript) code within a victims' browser. This attack appear to be exploitable via Victim must open a crafted link to the application. This vulnerability appears to have been fixed in ocsreports 2.4.1.

Weakness: CWE-79

Which versions are affected by CVE-2018-1000557?

It affects 1 product.

Products include Ocsinventory-Ng Ocsinventory Ng.

How do I fix CVE-2018-1000557?

Upgrade to a fixed version.

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

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

Sources

Also known as DEBIAN-CVE-2018-1000557, GHSA-gvrm-g2q6-r5f7, UBUNTU-CVE-2018-1000557.

Is CVE-2018-1000557 in your software?

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

Check your SBOMs for free