GitHub Advisoryadvisory · npm
GHSA-h685-83w4-3ph3 iziModal Cross-site Scripting vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2021-32860
- Ecosystem
- npm
- Packages
- izimodal
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2023-02-22
Affected packages
• npm izimodal: < 1.6.1 → 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
Related
Alias · CVE (1)
- CVE-2021-32860 iziModal is a modal plugin with jQuery. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-32860 advisory
- https://github.com/marcelodolza/iziModal/issues/249 web
- https://github.com/marcelodolza/iziModal/commit/01728ac52bac5c1b4512087dafe0ad8b091fdc9e web
- https://github.com/marcelodolza/iziModal package
- https://securitylab.github.com/advisories/GHSL-2021-1044_iziModal advisory