CVE-2016-4847 Cross-site scripting in n/a

Medium 6.1 Published Updated

Remote attackers can inject arbitrary web script or HTML into the OSSEC Web UI search functionality due to an unanchored regex vulnerability.

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-2016-4847?

CVE-2016-4847 is a medium-severity cross-site scripting vulnerability in n/a, published on 20 Apr 2017. 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

Cross-site scripting (XSS) vulnerability in site/search.php in OSSEC Web UI before 0.9 allows remote attackers to inject arbitrary web script or HTML by leveraging an unanchored regex.

Weakness: CWE-79

Which versions are affected by CVE-2016-4847?

It affects 1 product.

Products include Ossec Web Ui.

How do I fix CVE-2016-4847?

No fix has been published for CVE-2016-4847 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-2016-4847 being exploited?

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

Sources

Also known as GHSA-hpx2-x5rv-vgqm.

Is CVE-2016-4847 in your software?

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

Check your SBOMs for free