Vulnerability · Published Feb 20, 2023 · Assigned by GitHub_M

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

Medium 6.1

In plain English

A medium-severity cross-site scripting in iziModal from npm. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.6%top 51.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmizimodal1.6.1GHSA-h685-83w4-3ph3

Affected products (as reported)

VendorProductVersions
npm iziModal 1.6.1 – before 1.6.1

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References