jQuery UI contains potential XSS vulnerability when refreshing a checkboxradio with an HTML-like initial text label
Published Jul 20, 2022
6.1
MEDIUMCVSS 3.1
EPSS 2.64%
Description
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`.
Affected products
-
- Version < 1.13.2StatusaffectedConstraints-
- Version
Configuration 2
- n/a
Configuration 3
- n/a
Configuration 4
- n/a
Configuration 5
- n/a
Configuration 6
- n/a
Configuration 7
- n/a
Configuration 8
- 8.x-1.0
- 8.x-1.1
- 8.x-1.2
- 8.x-1.3
Configuration 9
- 35
- 36
- 37
Configuration 10
- 10.0
No data.
Red Hat Fuse 7
hawtio
Affected
Red Hat Fuse 7
swagger-ui
Affected
Red Hat OpenStack Platform 13 (Queens)
python-XStatic-jquery-ui
Affected
Red Hat OpenStack Platform 16.1
python-XStatic-jquery-ui
Affected
Red Hat OpenStack Platform 16.2
python-XStatic-jquery-ui
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Fuse 7 | hawtio | Affected | n/a |
| Red Hat Fuse 7 | swagger-ui | Affected | n/a |
| Red Hat OpenStack Platform 13 (Queens) | python-XStatic-jquery-ui | Affected | n/a |
| Red Hat OpenStack Platform 16.1 | python-XStatic-jquery-ui | Affected | n/a |
| Red Hat OpenStack Platform 16.2 | python-XStatic-jquery-ui | Affected | n/a |
jquery-ui
npm
Introduced 0 Fixed 1.13.2org.webjars.npm:jquery-ui
Maven
Introduced 0 Fixed 1.13.2jquery-ui-rails
RubyGems
Introduced 0 Fixed 8.0.0jQuery.UI.Combined
NuGet
Introduced 0 Fixed 1.13.2
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | jquery-ui | 0 | 1.13.2 |
| Maven | org.webjars.npm:jquery-ui | 0 | 1.13.2 |
| RubyGems | jquery-ui-rails | 0 | 8.0.0 |
| NuGet | jQuery.UI.Combined | 0 | 1.13.2 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Apr 22, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (39 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.64% (0.02640) | 85.05th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.90% (0.01895) | 76.85th | v5 (v2026.06.15) |
| Jun 13, 2026 | 5.87% (0.05871) | 90.81th | v4 (v2025.03.14) |
| May 6, 2026 | 7.76% (0.07763) | 91.98th | v4 (v2025.03.14) |
| Feb 1, 2026 | 9.73% (0.09728) | 92.77th | v4 (v2025.03.14) |
| Dec 17, 2025 | 10.94% (0.10939) | 93.15th | v4 (v2025.03.14) |
| Nov 23, 2025 | 15.26% (0.15257) | 94.34th | v4 (v2025.03.14) |
| Nov 21, 2025 | 10.94% (0.10939) | 93.11th | v4 (v2025.03.14) |
| Nov 18, 2025 | 5.85% (0.05853) | 89.62th | v4 (v2025.03.14) |
| Sep 29, 2025 | 10.94% (0.10939) | 93.16th | v4 (v2025.03.14) |
| Sep 10, 2025 | 8.94% (0.08941) | 92.27th | v4 (v2025.03.14) |
| Jun 1, 2025 | 7.18% (0.07185) | 91.13th | v4 (v2025.03.14) |
| Mar 30, 2025 | 6.10% (0.06102) | 89.83th | v4 (v2025.03.14) |
| Mar 29, 2025 | 22.80% (0.22799) | 93.34th | v4 (v2025.03.14) |
| Mar 28, 2025 | 6.10% (0.06102) | 89.85th | v4 (v2025.03.14) |
| Mar 27, 2025 | 22.80% (0.22799) | 95.09th | v4 (v2025.03.14) |
| Mar 25, 2025 | 6.10% (0.06102) | 89.79th | v4 (v2025.03.14) |
| Mar 24, 2025 | 22.80% (0.22799) | 95.38th | v4 (v2025.03.14) |
| Mar 17, 2025 | 6.10% (0.06102) | 90.08th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.22% (0.00222) | 61.37th | v3 (v2023.03.01) |
| Feb 10, 2024 | 0.22% (0.00222) | 59.55th | v3 (v2023.03.01) |
| Jan 28, 2024 | 0.20% (0.00196) | 57.60th | v3 (v2023.03.01) |
| Dec 31, 2023 | 0.23% (0.00229) | 61.05th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.19% (0.00193) | 56.93th | v3 (v2023.03.01) |
| Oct 25, 2023 | 0.27% (0.00266) | 63.92th | v3 (v2023.03.01) |
| Aug 22, 2023 | 0.25% (0.00253) | 62.39th | v3 (v2023.03.01) |
| Jul 27, 2023 | 0.21% (0.00211) | 58.06th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.13% (0.00132) | 47.15th | v3 (v2023.03.01) |
| Jun 20, 2023 | 0.12% (0.00124) | 45.82th | v3 (v2023.03.01) |
| May 16, 2023 | 0.11% (0.00111) | 42.99th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.08% (0.00083) | 33.53th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.54% (0.01537) | 74.48th | v2 (v2022.01.01) |
| Dec 28, 2022 | 11.61% (0.11613) | 94.95th | v2 (v2022.01.01) |
| Dec 8, 2022 | 1.54% (0.01537) | 73.97th | v2 (v2022.01.01) |
| Nov 21, 2022 | 1.18% (0.01183) | 60.87th | v2 (v2022.01.01) |
| Aug 11, 2022 | 1.02% (0.01018) | 38.54th | v2 (v2022.01.01) |
| Jul 28, 2022 | 0.95% (0.00954) | 34.10th | v2 (v2022.01.01) |
| Jul 21, 2022 | 0.89% (0.00890) | 28.13th | v2 (v2022.01.01) |
References (20)
- https://access.redhat.com/security/cve/CVE-2022-31160 Vendor Advisory
- https://blog.jqueryui.com/2022/07/jquery-ui-1-13-2-released Release NotesVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2110705 Issue Tracking
- https://github.com/advisories/GHSA-h6gj-6jjq-h8g9 Advisory
- https://github.com/jquery-ui-rails/jquery-ui-rails/blob/master/VERSIONS.md
- https://github.com/jquery-ui-rails/jquery-ui-rails/releases/tag/v8.0.0-release
- https://github.com/jquery/jquery-ui/commit/8cc5bae1caa1fcf96bf5862c5646c787020ba3f9 PatchThird Party Advisory
- https://github.com/jquery/jquery-ui/security/advisories/GHSA-h6gj-6jjq-h8g9 ExploitMitigationRelease NotesThird Party Advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-ui-rails/CVE-2022-31160.yml
- https://lists.debian.org/debian-lts-announce/2022/12/msg00015.html mailing-listMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6XBR3G3JR5ZIOJDO4224M3INXDS2VFDD/ vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J5LGNTICB5BRFAG3DHVVELS6H3CZSQMO/ vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QB2FJQXCNHO32VGVOC6DY6IPGVE4VDU6/ vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6XBR3G3JR5ZIOJDO4224M3INXDS2VFDD
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/J5LGNTICB5BRFAG3DHVVELS6H3CZSQMO
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QB2FJQXCNHO32VGVOC6DY6IPGVE4VDU6
- https://nvd.nist.gov/vuln/detail/CVE-2022-31160
- https://security.netapp.com/advisory/ntap-20220909-0007 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2022-31160
- https://www.drupal.org/sa-contrib-2022-052 Third Party Advisory
Change history (0)
No recorded changes yet.