What’s Vulnerable › Vulnerabilities
CVE-2016-9466
- Severity: medium (CVSS 6.1 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2017-03-28 · updated 2026-06-17
- Weakness: CWE-79
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.
Affected products
- Nextcloud Server: from 10.0.0 before 10.0.1 — fixed in 10.0.1
- Owncloud: from 9.0.0 before 9.0.6; from 9.1.0 before 9.1.2 — fixed in 9.0.6, 9.1.2
How to fix
Upgrade to a fixed version: Nextcloud Server 10.0.1; Owncloud 9.0.6, 9.1.2. Check the vendor advisory for mitigations.
References
- https://github.com/nextcloud/gallery/commit/f9ef505c1d60c9041e251682e0f6b3daad952d58
- https://github.com/owncloud/gallery/commit/b3b3772fb9bec61ba10d357bef42b676fa474eee
- https://github.com/owncloud/gallery/commit/dc4887f1afcc0cf304f4a0694075c9364298ad8a
- https://hackerone.com/reports/165686
- https://nextcloud.com/security/advisory/?id=nc-sa-2016-009
- https://owncloud.org/security/advisory/?id=oc-sa-2016-019
- https://github.com/nextcloud/gallery/commit/f9ef505c1d60c9041e251682e0f6b3daad952d58
- https://github.com/owncloud/gallery/commit/b3b3772fb9bec61ba10d357bef42b676fa474eee
- https://github.com/owncloud/gallery/commit/dc4887f1afcc0cf304f4a0694075c9364298ad8a
- https://hackerone.com/reports/165686
- https://nextcloud.com/security/advisory/?id=nc-sa-2016-009
- https://owncloud.org/security/advisory/?id=oc-sa-2016-019
Get alerted when CVE-2016-9466 or the next vulnerability affects your stack