CVE-2021-32860: medium-severity vulnerability in npm iziModal
iziModal vulnerable to Cross-site Scripting
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
iziModal, a jQuery modal plugin, fails to safely handle user-provided titles, allowing attackers to inject malicious code that runs in users' browsers. This can lead to theft of sensitive data or unauthorized actions on the website.
The vulnerability exists in iziModal versions before 1.6.1 due to improper input sanitization of the `title` parameter during modal instantiation. An attacker who can control the title field can inject arbitrary HTML or JavaScript that executes in the victim's browser context, enabling XSS attacks. Mitigation requires updating to version 1.6.1 or later.