Skip to main content
Public proof of conceptFix available

CVE-2021-41182

A public proof of concept exists; no exploitation attested.

  • Published2021-10-26
  • Fixed in1.13.0
  • WeaknessCWE-79

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value of the `altField` option of the Datepicker widget from untrusted sources may execute untrusted code. The issue is fixed in jQuery UI 1.13.0. Any string value passed to the `altField` option is now treated as a CSS selector. A workaround is to not accept the value of the `altField` option from untrusted sources.

Timeline

dates in UTC
  1. 2021-10-2615:15CVE publishedNVD

Versions per branch

NVD · OSV
jQuery UI
BranchAffectedFixed in
1.13< 1.13.01.13.0
Oracle primavera unifier
BranchAffectedFixed in
17.7= 17.7no fix published
17.8= 17.8no fix published
17.9= 17.9no fix published
17.10= 17.10no fix published
17.11= 17.11no fix published
17.12= 17.12no fix published
18.8= 18.8no fix published
19.12= 19.12no fix published
20.12= 20.12no fix published
21.12= 21.12no fix published
17.x≥ 17.7, ≤ 17.12no fix published
Fedoraproject fedora
BranchAffectedFixed in
33.x= 33no fix published
34.x= 34no fix published
35.x= 35no fix published
36.x= 36no fix published

28 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • ardana-barbicanSUSE:OpenStack Cloud 9all versions · fixed in 9.0+git.1644879908.8a641c1-3.13.1
  • drupal7Debian:9all versions · fixed in 7.52-2+deb9u17
  • drupal7CleanStartall versions · fixed in 7.86-r0
  • drupal7Alpine:v3.20all versions · fixed in 7.86-r0
  • drupal7Alpine:v3.19all versions · fixed in 7.86-r0
  • drupal7Alpine:v3.18all versions · fixed in 7.86-r0
  • drupal7Alpine:v3.17all versions · fixed in 7.86-r0
  • drupal7Alpine:v3.16all versions · fixed in 7.86-r0

64 more package ranges on OSV.dev

Vendor advisories

  • CVE-2021-41182 Red Hat Product Security21 products fixed · 2 known affected

    jquery-ui: XSS in the altField option of the datepicker widget

    jquery-ui as a component of Red Hat Decision Manager 7 · jquery-ui as a component of Red Hat Process Automation 7

  • RHSA-2022:4711 Red Hat Product Security21 products fixed

    Red Hat Security Advisory: RHV Manager (ovirt-engine) [ovirt-4.5.0] security update

Full record on NVD

Fix

  1. Update jQuery UI to 1.13.0
  2. Vendor fix Red Hat Product Security RHSA-2022:4711 · 21 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/2974891
  3. No fix planned, says the vendor Red Hat Product Security CVE-2021-41182 · 2 productsOut of support scope

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CNACVSS 3.16.5known since 2026-10-23
  • NVDCVSS 3.16.1read 2026-10-23
  • NVDCVSS 2.04.3read 2026-10-23
  • CNAweakness (CWE)CWE-79known since 2026-10-23
  • NVDweakness (CWE)CWE-79read 2026-10-23
  • FIRST EPSSEPSS score41.3 %read 2026-12-04
  • PoC-in-GitHubproof of concept1known since 2026-11-01
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryModerate2021-10-25

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Published
2021-10-26
Last modified
2026-08-25
NVD status
Modified
GitHub advisory
GHSA-9gj3-hwp5-pmwc

Frequently asked questions

What is CVE-2021-41182?

jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value of the `altField` option of the Datepicker widget from untrusted sources may execute untrusted code. The issue is fixed in jQuery UI 1.13.0. Any string value passed to the `altField` option is now treated as a CSS selector. A workaround is to not accept the value of the `altField` option from untrusted sources.

Is CVE-2021-41182 actively exploited?

Active exploitation of CVE-2021-41182 has not been confirmed. Its EPSS score was 41.3% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-41182?

CVE-2021-41182 has a CVSS v3 base score of 6.5 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.

Running jQuery UI? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record