jquery-confirm@3.0.0 vulnerabilities

A jQuery plugin that provides great set of features like, Auto-close, Ajax-loading, background-dismiss, themes and more.

Direct Vulnerabilities

Known vulnerabilities in the jquery-confirm package. This does not include vulnerabilities belonging to this package’s dependencies.

How to fix?

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

Fix for free
VulnerabilityVulnerable Version
  • H
Cross-site Scripting (XSS)

jquery-confirm is a multipurpose plugin for jquery alert, confirm & dialog.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). setIconand closeIconClass can be used to inject arbitrary HTML.

How to fix Cross-site Scripting (XSS)?

There is no fixed version for jquery-confirm.

*
  • M
Cross-site Scripting (XSS)

jquery-confirm is a multipurpose plugin for jquery alert, confirm & dialog.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). HTML can could be injected via setIcon and closeIconClass.

##PoC by Rob--W

// This shows succesful script execution: alert(0) is executed: 
$.confirm().setIcon('"><img src onerror="alert(0)"><"')

How to fix Cross-site Scripting (XSS)?

There is no fixed version for jquery-confirm.

*