medium6.1
CVE-2021-32860
iziModal Cross-site Scripting vulnerability
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | izimodal | < 1.6.1 | 1.6.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Izimodal Project | Izimodal | through 1.6.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/marcelodolza/iziModal/commit/01728ac52bac5c1b4512087dafe0ad8b091fdc9e
- https://github.com/marcelodolza/iziModal/issues/249
- https://securitylab.github.com/advisories/GHSL-2021-1044_iziModal/
- https://github.com/advisories/GHSA-h685-83w4-3ph3
- https://nvd.nist.gov/vuln/detail/CVE-2021-32860