{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2021-32860",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "dateUpdated": "2024-08-03T23:33:55.916Z",
        "dateReserved": "2021-05-12T00:00:00",
        "datePublished": "2023-02-20T00:00:00"
    },
    "containers": {
        "cna": {
            "title": "iziModal vulnerable to Cross-site Scripting",
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-02-20T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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"
                }
            ],
            "affected": [
                {
                    "vendor": "npm",
                    "product": "iziModal",
                    "versions": [
                        {
                            "version": "1.6.1",
                            "status": "affected",
                            "lessThan": "1.6.1",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://securitylab.github.com/advisories/GHSL-2021-1044_iziModal/"
                },
                {
                    "url": "https://github.com/marcelodolza/iziModal/issues/249"
                },
                {
                    "url": "https://github.com/marcelodolza/iziModal/commit/01728ac52bac5c1b4512087dafe0ad8b091fdc9e"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "REQUIRED",
                        "scope": "CHANGED",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "availabilityImpact": "NONE",
                        "baseScore": 6.1,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-79 Cross-site Scripting (XSS)",
                            "cweId": "CWE-79"
                        }
                    ]
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 0.0.9"
            },
            "source": {
                "advisory": "GHSL-2021-1044",
                "defect": [
                    "GHSL-2021-1044"
                ],
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T23:33:55.916Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://securitylab.github.com/advisories/GHSL-2021-1044_iziModal/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/marcelodolza/iziModal/issues/249",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/marcelodolza/iziModal/commit/01728ac52bac5c1b4512087dafe0ad8b091fdc9e",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}