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

Medium 5.4 Published Updated

A logged-in user can upload malicious files to execute stored cross-site scripting attacks against other users on the Zulip server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2019-16216?

CVE-2019-16216 is a medium-severity cross-site scripting vulnerability in n/a, published on 18 Sep 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Zulip server before 2.0.5 incompletely validated the MIME types of uploaded files. A user who is logged into the server could upload files of certain types to mount a stored cross-site scripting attack on other logged-in users. On a Zulip server using the default local uploads backend, the attack is only effective against browsers lacking support for Content-Security-Policy such as Internet Explorer 11. On a Zulip server using the S3 uploads backend, the attack is confined to the origin of the configured S3 uploads hostname and cannot reach the Zulip server itself.

Weakness: CWE-79

Which versions are affected by CVE-2019-16216?

It affects 1 product.

Products include Zulip Zulip Server.

How do I fix CVE-2019-16216?

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

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

Sources

Also known as GHSA-j2r8-2vxg-pxvh.

Is CVE-2019-16216 in your software?

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

Check your SBOMs for free