CVE-2021-32860
6.1medium
iziModal vulnerable to Cross-site Scripting
- Severity
- 6.1medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.60% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-h685-83w4-3ph3
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| npm iziModal | from 1.6.1 before 1.6.1 | CVE List |
| izimodal (npm) | before 1.6.1 | GitHub Advisory Database |
| izimodal_project izimodal | up to 1.6.1 | NVD |
All scores
| GitHub_M | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
| https://securitylab.github.com/advisories/GHSL-2021-1044_iziModal/ | exploit, third-party-advisory | |
| https://github.com/marcelodolza/iziModal/issues/249 | issue-tracking, third-party-advisory, web | |
| https://github.com/marcelodolza/iziModal/commit/01728ac52bac5c1b4512087dafe0ad8b091fdc9e | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-32860 | advisory | |
| https://github.com/marcelodolza/iziModal | package | |
| https://securitylab.github.com/advisories/GHSL-2021-1044_iziModal | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32860 changed 2025-03-10 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-h685-83w4-3ph3 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-32860 changed 2026-06-17 | Public domain |