Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-9466

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-9466
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:27 UTC · Revision 1

Source evidence

CVE-2016-9466

core-osv · Original source

Published 28 Mar 2017, 02:59 UTC

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.

osv:CVE-2016-9466
Complete source record
{
  "id": "68dee27536ab89b806d25ea00393ffd4c7293bf9743de6367e89cfc4a5b43851",
  "url": "https://osv.dev/vulnerability/CVE-2016-9466",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-9466",
    "summary": "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.",
    "evidence": "osv:CVE-2016-9466",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2016-9466",
      "aliases": [
        "CVE-2016-9466"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nextcloud/gallery",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "f9ef505c1d60c9041e251682e0f6b3daad952d58"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "f9ef505c1d60c9041e251682e0f6b3daad952d58"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v9.1.0RC1",
            "v9.1.0beta2",
            "v9.1.0beta1",
            "v9.0.0RC1",
            "v9.0.0beta2",
            "v9.0beta1",
            "v8.2RC2",
            "v8.2RC1",
            "v8.2beta1",
            "v12-stable8",
            "8.0.11",
            "2.0.10",
            "2.0.9",
            "2.0.8",
            "2.0.7",
            "2.0.6",
            "2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-9466.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/nextcloud/server",
              "type": "GIT",
              "events": [
                {
                  "introduced": "43ce8b13c1422ed82f42886b5918159f05b36967"
                },
                {
                  "fixed": "12ec1d1e3e5d90140e2afaca8afc3727dadeca1a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "10.0.0"
                      },
                      {
                        "fixed": "10.0.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v10.0.1RC1",
            "v10.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-9466.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/owncloud/core",
              "type": "GIT",
              "events": [
                {
                  "introduced": "81f694d83e8246d9b6482b773c8bdca675c51828"
                },
                {
                  "fixed": "eac87d3dd56303575746cfae6382d609bd51ff6e"
                },
                {
                  "introduced": "b642b26f7229c99b33e49cde86b38fdc6e8e5f21"
                },
                {
                  "fixed": "d47c589b0429eafa5add3a9ffc1c89f8ecccf9cc"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:owncloud:owncloud:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.0.0"
                      },
                      {
                        "fixed": "9.0.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:owncloud:owncloud:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.1.0"
                      },
                      {
                        "fixed": "9.1.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v9.1.2RC2",
            "v9.0.6RC2",
            "v9.1.2RC1",
            "v9.0.6RC1",
            "v9.1.1",
            "v9.0.5",
            "v9.0.5RC2",
            "v9.1.1RC3",
            "v9.1.1RC2",
            "v9.0.5RC1",
            "v9.1.1RC1",
            "v9.1.0",
            "v9.0.4",
            "v9.0.4RC1",
            "v9.0.3",
            "v9.0.3RC1",
            "v9.0.2",
            "v9.0.2RC2",
            "v9.0.2RC1",
            "v9.0.1RC2",
            "v9.0.1",
            "v9.0.1RC1",
            "v9.0.1beta",
            "v9.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-9466.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/owncloud/gallery",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b3b3772fb9bec61ba10d357bef42b676fa474eee"
                },
                {
                  "fixed": "dc4887f1afcc0cf304f4a0694075c9364298ad8a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "b3b3772fb9bec61ba10d357bef42b676fa474eee"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "dc4887f1afcc0cf304f4a0694075c9364298ad8a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v9.1.0",
            "v9.0.6RC1",
            "v9.0.5RC2",
            "v9.0.5RC1",
            "v9.0.5",
            "v9.0.4RC1",
            "v9.0.4",
            "v9.1.2RC1",
            "v9.1.1RC3",
            "v9.1.1RC2",
            "v9.1.1RC1",
            "v9.1.1",
            "v9.1.0RC4",
            "v9.1.0RC3",
            "v9.1.0RC2",
            "v9.1.0RC1",
            "v9.0.3RC1",
            "v9.0.3",
            "v9.0.2RC2",
            "v9.0.2RC1",
            "v9.0.2",
            "v9.0.1RC2",
            "v9.0.1",
            "v9.1.0beta2",
            "v9.1.0beta1",
            "v9.0.1beta",
            "v9.0.1RC1",
            "v9.0.0RC3",
            "v9.0.0RC2",
            "v9.0.0",
            "v9.0.0RC1",
            "v9.0.0beta2",
            "v9.0beta1",
            "v8.2RC2",
            "v8.2RC1",
            "v8.2beta1",
            "v12-stable8",
            "8.0.11",
            "2.0.10",
            "2.0.9",
            "2.0.8",
            "2.0.7",
            "2.0.6",
            "2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-9466.json"
          }
        }
      ],
      "modified": "2026-10-24T10:47:30.697999858Z",
      "provider": "osv",
      "references": [
        "https://github.com/nextcloud/gallery/commit/f9ef505c1d60c9041e251682e0f6b3daad952d58",
        "https://github.com/owncloud/gallery/commit/b3b3772fb9bec61ba10d357bef42b676fa474eee",
        "https://github.com/owncloud/gallery/commit/dc4887f1afcc0cf304f4a0694075c9364298ad8a",
        "https://nextcloud.com/security/advisory/?id=nc-sa-2016-009",
        "https://owncloud.org/security/advisory/?id=oc-sa-2016-019",
        "https://hackerone.com/reports/165686"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:owncloud:owncloud:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "owncloud:owncloud",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0.0"
                  },
                  {
                    "fixed": "9.0.6"
                  },
                  {
                    "introduced": "9.1.0"
                  },
                  {
                    "fixed": "9.1.2"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2016-9466",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 441289,
  "published_at": "2017-03-28T02:59:01.107+00:00"
}