{"id":"CVE-2021-41183","aliases":["CVE-2021-41183","GHSA-j7qv-pgf6-hvh4","BIT-DRUPAL-2021-41183"],"related":[],"kind":"vulnerability","state":"published","title":"XSS in `*Text` options of the Datepicker widget","summary":"jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value of various `*Text` options of the Datepicker widget from untrusted sources may execute untrusted code. The issue is fixed in jQuery UI 1.13.0. The values passed to various `*Text` options are now always treated as pure text, not HTML. A workaround is to not accept the value of the `*Text` options from untrusted sources.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value of various `*Text` options of the Datepicker widget from untrusted sources may execute untrusted code. The issue is fixed in jQuery UI 1.13.0. The values passed to various `*Text` options are now always treated as pure text, not HTML. A workaround is to not accept the value of the `*Text` options from untrusted sources.","source":"cvelist"},{"lang":"en","text":"### Impact\nAccepting the value of various `*Text` options of the Datepicker widget from untrusted sources may execute untrusted code. For example, initializing the datepicker in the following way:\n```js\n$( \"#datepicker\" ).datepicker( {\n\tshowButtonPanel: true,\n\tshowOn: \"both\",\n\tcloseText: \"<script>doEvilThing( 'closeText XSS' )</script>\",\n\tcurrentText: \"<script>doEvilThing( 'currentText XSS' )</script>\",\n\tprevText: \"<script>doEvilThing( 'prevText XSS' )</script>\",\n\tnextText: \"<script>doEvilThing( 'nextText XSS' )</script>\",\n\tbuttonText: \"<script>doEvilThing( 'buttonText XSS' )</script>\",\n\tappendText: \"<script>doEvilThing( 'appendText XSS' )</script>\",\n} );\n```\nwill call `doEvilThing` with 6 different parameters coming from all `*Text` options.\n\n### Patches\nThe issue is fixed in jQuery UI 1.13.0. The values passed to various `*Text` options are now always treated as pure text, not HTML.\n\n### Workarounds\nA workaround is to not accept the value of the `*Text` options from untrusted sources.\n\n### For more information\nIf you have any questions or comments about this advisory, search for a relevant issue in [the jQuery UI repo](https://github.com/jquery/jquery-ui/issues). If you don't find an answer, open a new issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"jQuery-UI es la biblioteca oficial de interfaz de usuario de jQuery. Antes de la versión 1.13.0, aceptar el valor de varias opciones \"*Text\" del widget Datepicker desde fuentes no confiables podía ejecutar código no confiable. El problema es corregido en jQuery UI versión 1.13.0. Los valores pasados a varias opciones \"*Text\" son ahora tratados siempre como texto puro, no como HTML. Una solución es no aceptar el valor de las opciones \"*Text\" de fuentes no confiables","source":"nvd"}],"published":"2021-10-26T00:00:00.000Z","modified":"2026-09-08T08:47:02.655Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 1.13.0","status":"affected"}],"vendor":"jquery","product":"jquery-ui","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.13.0"}],"ecosystem":"npm","package":"jquery-ui","purl":"pkg:npm/jquery-ui","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.13.0"}],"ecosystem":"Maven","package":"org.webjars.npm:jquery-ui","purl":"pkg:maven/org.webjars.npm/jquery-ui","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"7.0.0"}],"ecosystem":"RubyGems","package":"jquery-ui-rails","purl":"pkg:gem/jquery-ui-rails","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.13.0"}],"ecosystem":"NuGet","package":"jQuery.UI.Combined","purl":"pkg:nuget/jQuery.UI.Combined","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.13.0"}],"vendor":"jqueryui","product":"jquery_ui","cpe":"cpe:2.3:a:jqueryui:jquery_ui:*:*:*:*:*:jquery:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"33"},{"status":"affected","version":"34"},{"status":"affected","version":"35"},{"status":"affected","version":"36"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h300s_firmware","cpe":"cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h500s_firmware","cpe":"cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h700s_firmware","cpe":"cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h300e_firmware","cpe":"cpe:2.3:o:netapp:h300e_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h500e_firmware","cpe":"cpe:2.3:o:netapp:h500e_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h700e_firmware","cpe":"cpe:2.3:o:netapp:h700e_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h410s_firmware","cpe":"cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"h410c_firmware","cpe":"cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"7.0","fixed":"7.86"},{"status":"affected","introduced":"9.2.0","fixed":"9.2.11"},{"status":"affected","introduced":"9.3.0","fixed":"9.3.3"}],"vendor":"drupal","product":"drupal","cpe":"cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.3.6"}],"vendor":"oracle","product":"agile_product_lifecycle_management","cpe":"cpe:2.3:a:oracle:agile_product_lifecycle_management:9.3.6:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"22.1.1"}],"vendor":"oracle","product":"application_express","cpe":"cpe:2.3:a:oracle:application_express:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"2.9.0"},{"status":"affected","version":"2.12.0"}],"vendor":"oracle","product":"banking_platform","cpe":"cpe:2.3:a:oracle:banking_platform:2.9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"23.1"},{"status":"affected","version":"23.1"}],"vendor":"oracle","product":"big_data_spatial_and_graph","cpe":"cpe:2.3:a:oracle:big_data_spatial_and_graph:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"6.4"}],"vendor":"oracle","product":"communications_interactive_session_recorder","cpe":"cpe:2.3:a:oracle:communications_interactive_session_recorder:6.4:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"4.3"},{"status":"affected","version":"4.4"},{"status":"affected","version":"5.0"}],"vendor":"oracle","product":"communications_operations_monitor","cpe":"cpe:2.3:a:oracle:communications_operations_monitor:4.3:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.1.0"}],"vendor":"oracle","product":"hospitality_inventory_management","cpe":"cpe:2.3:a:oracle:hospitality_inventory_management:9.1.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"8.11.0","lastAffected":"11.14.0"},{"status":"affected","version":"8.10.2"}],"vendor":"oracle","product":"hospitality_suite8","cpe":"cpe:2.3:a:oracle:hospitality_suite8:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","lastAffected":"9.2.6.3"}],"vendor":"oracle","product":"jd_edwards_enterpriseone_tools","cpe":"cpe:2.3:a:oracle:jd_edwards_enterpriseone_tools:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","lastAffected":"8.0.29"}],"vendor":"oracle","product":"mysql_enterprise_monitor","cpe":"cpe:2.3:a:oracle:mysql_enterprise_monitor:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.58"},{"status":"affected","version":"8.59"}],"vendor":"oracle","product":"peoplesoft_enterprise_peopletools","cpe":"cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.58:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"12.2.0","lastAffected":"12.2.5"}],"vendor":"oracle","product":"policy_automation","cpe":"cpe:2.3:a:oracle:policy_automation:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"17.7","lastAffected":"17.12"},{"status":"affected","version":"18.8.0"},{"status":"affected","version":"19.12.0"},{"status":"affected","version":"20.12.0"},{"status":"affected","version":"21.12.0"}],"vendor":"oracle","product":"primavera_gateway","cpe":"cpe:2.3:a:oracle:primavera_gateway:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"22.1.1"},{"status":"affected","version":"22.1.1"}],"vendor":"oracle","product":"rest_data_services","cpe":"cpe:2.3:a:oracle:rest_data_services:*:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.2.1.3.0"},{"status":"affected","version":"12.2.1.4.0"},{"status":"affected","version":"14.1.1.0.0"}],"vendor":"oracle","product":"weblogic_server","cpe":"cpe:2.3:a:oracle:weblogic_server:12.2.1.3.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"5.21.0"}],"vendor":"tenable","product":"tenable.sc","cpe":"cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.86.0"},{"type":"semver","introduced":"9.2.0","status":"affected","fixed":"9.2.11"},{"type":"semver","introduced":"9.3.0","status":"affected","fixed":"9.3.3"}],"ecosystem":"Bitnami","package":"drupal","purl":"pkg:bitnami/drupal","source":"bitnami"}],"references":[{"url":"https://blog.jqueryui.com/2021/10/jquery-ui-1-13-0-released/","tags":["advisory","release-notes","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/jquery/jquery-ui/security/advisories/GHSA-j7qv-pgf6-hvh4","tags":["advisory","exploit","mitigation","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/jquery/jquery-ui/pull/1953","tags":["advisory","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://bugs.jqueryui.com/ticket/15284","tags":["advisory","issue-tracking","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O74SXYY7RGXREQDQUDQD4BPJ4QQTD2XQ/","tags":["advisory","mailing-list","third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SNXA7XRKGINWSUIPIZ6ZBCTV6N3KSHES/","tags":["advisory","mailing-list","third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NXIUUBRVLA4E7G7MMIKCEN75YN7UFERW/","tags":["advisory","mailing-list","third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00014.html","tags":["advisory","mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://www.drupal.org/sa-core-2022-002","tags":["advisory","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["advisory","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20211118-0004/","tags":["advisory","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.drupal.org/sa-contrib-2022-004","tags":["advisory","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://www.drupal.org/sa-core-2022-001","tags":["advisory","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["advisory","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://www.tenable.com/security/tns-2022-09","tags":["advisory","patch","release-notes","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVKIOWSXL2RF2ULNAP7PHESYCFSZIJE3/","tags":["advisory","mailing-list","third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SGSY236PYSFYIEBRGDERLA7OSY6D7XL4/","tags":["advisory","mailing-list","third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/08/msg00040.html","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41183","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20211118-0004","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SNXA7XRKGINWSUIPIZ6ZBCTV6N3KSHES","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SGSY236PYSFYIEBRGDERLA7OSY6D7XL4","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O74SXYY7RGXREQDQUDQD4BPJ4QQTD2XQ","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NXIUUBRVLA4E7G7MMIKCEN75YN7UFERW","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HVKIOWSXL2RF2ULNAP7PHESYCFSZIJE3","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SNXA7XRKGINWSUIPIZ6ZBCTV6N3KSHES","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SGSY236PYSFYIEBRGDERLA7OSY6D7XL4","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O74SXYY7RGXREQDQUDQD4BPJ4QQTD2XQ","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NXIUUBRVLA4E7G7MMIKCEN75YN7UFERW","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVKIOWSXL2RF2ULNAP7PHESYCFSZIJE3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jquery/jquery-ui","tags":["package"],"sources":["ghsa"]},{"url":"https://blog.jqueryui.com/2021/10/jquery-ui-1-13-0-released","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-41183","url":"https://www.cve.org/CVERecord?id=CVE-2021-41183","licence":"CVE Terms of Use","modified":"2025-02-13T16:28:30.803Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j7qv-pgf6-hvh4","url":"https://github.com/advisories/GHSA-j7qv-pgf6-hvh4","licence":"CC-BY-4.0","modified":"2026-07-08T06:27:53.914Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-41183","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41183","licence":"Public domain","modified":"2026-08-25T16:28:27.310Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DRUPAL-2021-41183","url":"https://osv.dev/vulnerability/BIT-DRUPAL-2021-41183","licence":"Apache-2.0","modified":"2026-09-08T08:47:02.655Z"}],"updatedAt":"2026-11-25T22:58:05.209Z","epss":{"score":0.08533,"percentile":0.95165,"date":"2026-12-01T12:00:22.000Z"}}