Cross-site Scripting (XSS) The advisory has been revoked - it doesn't affect any version of package python-XStatic-jquery-ui  (opens in a new tab)


Threat Intelligence

EPSS
2.69% (86th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-PYTHONXSTATICJQUERYUI-9885611
  • published28 Apr 2025
  • disclosed20 Jul 2022

Introduced: 20 Jul 2022

CVE-2022-31160  (opens in a new tab)
CWE-79  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-XStatic-jquery-ui package and not the python-XStatic-jquery-ui package as distributed by RHEL.

jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of jQuery. Versions prior to 1.13.2 are potentially vulnerable to cross-site scripting. Initializing a checkboxradio widget on an input enclosed within a label makes that parent label contents considered as the input label. Calling .checkboxradio( "refresh" ) on such a widget and the initial HTML contained encoded HTML entities will make them erroneously get decoded. This can lead to potentially executing JavaScript code. The bug has been patched in jQuery UI 1.13.2. To remediate the issue, someone who can change the initial HTML can wrap all the non-input contents of the label in a span.