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

Medium 6.1 Published Updated

Unauthenticated attackers can inject malicious scripts into Visualizer charts, leading to code execution or account takeover when admins edit the chart.

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

CVE-2019-16931 is a medium-severity cross-site scripting vulnerability in n/a, published on 3 Oct 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

A stored XSS vulnerability in the Visualizer plugin 3.3.0 for WordPress allows an unauthenticated attacker to execute arbitrary JavaScript when an admin or other privileged user edits the chart via the admin dashboard. This occurs because classes/Visualizer/Gutenberg/Block.php registers wp-json/visualizer/v1/update-chart with no access control, and classes/Visualizer/Render/Page/Data.php lacks output sanitization.

Weakness: CWE-79

Which versions are affected by CVE-2019-16931?

It affects 1 product.

Products include Themeisle Visualizer.

How do I fix CVE-2019-16931?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-16931 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-89c3-rfvp-jjmq.

Is CVE-2019-16931 in your software?

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

Check your SBOMs for free