Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-18405

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-18405
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:21 UTC · Revision 1

Source evidence

CVE-2018-18405

core-osv · Original source

Published 22 Apr 2020, 18:15 UTC

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

osv:CVE-2018-18405
Complete source record
{
  "id": "7edc178ff5398c99ccf09409f79189d9d22fb05a2726f75876ffd41babe3f58c",
  "url": "https://osv.dev/vulnerability/CVE-2018-18405",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-18405",
    "summary": "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",
    "evidence": "osv:CVE-2018-18405",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-18405",
      "aliases": [
        "CVE-2018-18405"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jquery/jquery",
              "type": "GIT",
              "events": [
                {
                  "introduced": "742610f10e071865fb56907027f9d62bc646562b"
                },
                {
                  "last_affected": "742610f10e071865fb56907027f9d62bc646562b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:jquery:jquery:2.2.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.2"
                      },
                      {
                        "last_affected": "2.2.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.2.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-18405.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:52.141975637Z",
      "provider": "osv",
      "references": [
        "https://gist.github.com/CyberSecurityUP/26c5b032897630fe8407da4a8ef216d4",
        "https://gitter.im/jquery/jquery?at=5ea844a05cd4fe50a3d7ddc9",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VOE7P7APPRQKD4FGNHBKJPDY6FFCOH3W/",
        "https://twitter.com/DanielRufde/status/1255185961866145792"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-18405",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 437627,
  "published_at": "2020-04-22T18:15:10.99+00:00"
}