{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.2.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "742610f10e071865fb56907027f9d62bc646562b"
            }
          ],
          "repo": "https://github.com/jquery/jquery",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "jQuery v2.2.2 allows XSS via a crafted onerror attribute of an IMG element. NOTE: this vulnerability has been reported to be spam entry",
  "id": "CVE-2018-18405",
  "modified": "2026-04-01T23:09:50.777339086Z",
  "published": "2020-04-22T18:15:10.990Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://twitter.com/DanielRufde/status/1255185961866145792"
    },
    {
      "type": "WEB",
      "url": "https://gist.github.com/CyberSecurityUP/26c5b032897630fe8407da4a8ef216d4"
    },
    {
      "type": "WEB",
      "url": "https://gitter.im/jquery/jquery?at=5ea844a05cd4fe50a3d7ddc9"
    },
    {
      "type": "WEB",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VOE7P7APPRQKD4FGNHBKJPDY6FFCOH3W/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}