{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.8"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "187a70cb600a3ce5c9a20385ba751ddaf845c5c4"
            },
            {
              "fixed": "b4dcbba7a8eb09ba9d38fc69807a8861255736d0"
            }
          ],
          "repo": "https://github.com/ossec/ossec-wui",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Cross-site scripting (XSS) vulnerability in site/search.php in OSSEC Web UI before 0.9 allows remote attackers to inject arbitrary web script or HTML by leveraging an unanchored regex.",
  "id": "CVE-2016-4847",
  "modified": "2026-03-14T13:52:11.142478810Z",
  "published": "2017-04-20T17:59:00.290Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "http://jvn.jp/en/jp/JVN58455472/index.html"
    },
    {
      "type": "ADVISORY",
      "url": "http://jvndb.jvn.jp/en/contents/2016/JVNDB-2016-000141.html"
    },
    {
      "type": "ADVISORY",
      "url": "http://www.securityfocus.com/bid/92536"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ossec/ossec-wui/commit/b4dcbba7a8eb09ba9d38fc69807a8861255736d0"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}