CVE-2019-7340 Cross-site scripting in n/a

Medium 6.1 Published Updated

An attacker can execute arbitrary HTML or JavaScript code in the ZoneMinder web interface via a vulnerable filter parameter, potentially compromising user sessions.

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-2019-7340?

CVE-2019-7340 is a medium-severity cross-site scripting vulnerability in Zoneminder Zoneminder, published on 4 Feb 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

POST - Cross Site Scripting (XSS) exists in ZoneMinder through 1.32.3, allowing an attacker to execute HTML or JavaScript code via a vulnerable 'filter[Query][terms][0][val]' parameter value in the view filter (filter.php) because proper filtration is omitted.

Weakness: CWE-79

Which versions are affected by CVE-2019-7340?

It affects 1 product.

Products include Zoneminder Zoneminder.

How do I fix CVE-2019-7340?

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-2019-7340 being exploited?

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

All Zoneminder Zoneminder vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-7340, GHSA-6v2h-qxrp-cfj6, UBUNTU-CVE-2019-7340.

Is CVE-2019-7340 in your software?

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

Check your SBOMs for free