CVE-2016-9466 Cross-site scripting in Nextcloud Server & ownCloud Server Nextcloud Server before 10.0.1 & ownCloud Server before 9.0.6 and 9.1.2

Medium 6.1 Published Updated

Attackers can execute arbitrary scripts in victim browsers via unsanitized exception messages in the Gallery application of Nextcloud and ownCloud servers.

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-9466?

CVE-2016-9466 is a medium-severity cross-site scripting vulnerability in Nextcloud Nextcloud Server, published on 28 Mar 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

Nextcloud Server before 10.0.1 & ownCloud Server before 9.0.6 and 9.1.2 suffer from Reflected XSS in the Gallery application. The gallery app was not properly sanitizing exception messages from the Nextcloud/ownCloud server. Due to an endpoint where an attacker could influence the error message, this led to a reflected Cross-Site-Scripting vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2016-9466?

It affects 2 products.

Products include Nextcloud Nextcloud Server, Owncloud Owncloud.

How do I fix CVE-2016-9466?

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

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

All Nextcloud Nextcloud Server vulnerabilities

Sources

Also known as GHSA-m5x2-59hv-phpr.

Is CVE-2016-9466 in your software?

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

Check your SBOMs for free