XSS in dialog closeText

Module: jquery-ui

Published: July 21st, 2016

Reported by: Phat Ly



Vulnerable: <=1.11.4
Patched: >=1.12.0


Affected versions of jquery-ui are vulnerable to a cross-site scripting vulnerability when arbitrary user input is supplied as the value of the closeText parameter in the dialog function.

jQuery-UI is a library for manipulating UI elements via jQuery.

Version 1.11.4 has a cross site scripting (XSS) vulnerability in the closeText parameter of the dialog function. If your application passes user input to this parameter, it may be vulnerable to XSS via this attack vector.


Upgrade to jQuery-UI 1.12.0 or later.


PR #1622