Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-32860

iziModal is a modal plugin with jQuery. Versions prior to 1.6.1 are vulnerable to cross-site scripting (XSS) when handling untrusted modal titles. An attacker who is able to influence the field `title` when creating a `iziModal` instance is able to supply arbitrary `html` or `javascript` code that will be rendered in the context of a user, potentially leading to `XSS`. Version 1.6.1 contains a patch for this issue

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-32860
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:18 UTC · Revision 1

Source evidence

CVE-2021-32860

core-osv · Original source

Published 21 Feb 2023, 15:15 UTC

iziModal is a modal plugin with jQuery. Versions prior to 1.6.1 are vulnerable to cross-site scripting (XSS) when handling untrusted modal titles. An attacker who is able to influence the field `title` when creating a `iziModal` instance is able to supply arbitrary `html` or `javascript` code that will be rendered in the context of a user, potentially leading to `XSS`. Version 1.6.1 contains a patch for this issue

osv:CVE-2021-32860
Complete source record
{
  "id": "48026a83574e3573bd4547cbf7e736a7649f5903d0f2e1a8b006214cf97c44a4",
  "url": "https://osv.dev/vulnerability/CVE-2021-32860",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-32860",
    "summary": "iziModal is a modal plugin with jQuery. Versions prior to 1.6.1 are vulnerable to cross-site scripting (XSS) when handling untrusted modal titles. An attacker who is able to influence the field `title` when creating a `iziModal` instance is able to supply arbitrary `html` or `javascript` code that will be rendered in the context of a user, potentially leading to `XSS`. Version 1.6.1 contains a patch for this issue",
    "evidence": "osv:CVE-2021-32860",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-32860",
      "aliases": [
        "CVE-2021-32860",
        "GHSA-h685-83w4-3ph3"
      ],
      "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/marcelodolza/izimodal",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "01728ac52bac5c1b4512087dafe0ad8b091fdc9e"
                },
                {
                  "fixed": "01728ac52bac5c1b4512087dafe0ad8b091fdc9e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:izimodal_project:izimodal:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.6.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "01728ac52bac5c1b4512087dafe0ad8b091fdc9e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.6.0",
            "v1.5.1",
            "v1.5.0",
            "v1.4.2",
            "v1.4.0",
            "v1.3.3",
            "v1.3.2",
            "v1.3.1",
            "v1.3.0",
            "v1.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32860.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:46.922426152Z",
      "provider": "osv",
      "references": [
        "https://github.com/marcelodolza/iziModal/issues/249",
        "https://github.com/marcelodolza/iziModal/commit/01728ac52bac5c1b4512087dafe0ad8b091fdc9e",
        "https://securitylab.github.com/advisories/GHSL-2021-1044_iziModal/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-32860",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384620,
  "published_at": "2023-02-21T15:15:11.867+00:00"
}