GitHub Advisoryadvisory · npm

GHSA-h685-83w4-3ph3 iziModal Cross-site Scripting vulnerability

MEDIUM Published 2023-02-21 Modified 2023-02-22 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