Medium, CVSS 6.1npmAmendedPublished
iziModal Cross-site Scripting vulnerability
CVE-2021-32860 · GHSA-h685-83w4-3ph3
- Affected
- npm izimodal < 1.6.1
- Fixed in
- 1.6.1· Vendor fix available
- Issue
- 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
Recommended action: Upgrade to 1.6.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.