LiveActive security incident?Get immediate response
CVE Record

CVE-2021-41182: XSS in the `altField` option of the Datepicker widget

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.

MediumCVSS 6.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-41182 is a cross-site scripting flaw in jQuery UI Datepicker before 1.13.0. If an application lets untrusted input control the Datepicker `altField` option, browser-side code may run in a user’s session. The business risk is website or application integrity impact, especially where legacy UI libraries are embedded in customer-facing systems.

Executive priority

Handle during normal vulnerability remediation, with faster action for public-facing applications or portals where users can influence UI configuration. The flaw is not marked KEV in the provided bundle, but it affects a widely embedded library and has a clear upstream fix.

Technical view

The issue is CWE-79 in jQuery UI Datepicker. Before 1.13.0, `altField` values accepted from untrusted sources could execute untrusted code. The upstream fix treats string `altField` values as CSS selectors. CVSS 3.1 is 6.5: network reachable, low complexity, no privileges, user interaction required, high integrity impact.

Likely exposure

Exposure is most likely in web applications using jquery-ui versions earlier than 1.13.0, especially pages with Datepicker configurations where `altField` can be influenced by user, CMS, URL, or integration data. Downstream advisories from Drupal, Fedora, Oracle, and NetApp indicate this library was bundled in broader products.

Exploitation context

The source bundle does not show CISA KEV listing or cited evidence of active exploitation. Exploitation requires a user interaction path in a vulnerable application and an untrusted `altField` value. Treat this as a practical web-app integrity risk, not a confirmed mass-exploitation event based on the provided evidence.

Researcher notes

Focus on reachability, not just package presence. The vulnerable condition depends on Datepicker `altField` accepting untrusted input. Document all transitive copies of jquery-ui, including CMS, appliance, and packaged application copies, because several downstream vendors issued advisories after the upstream 1.13.0 fix.

Mitigation direction

  • Upgrade jquery-ui to 1.13.0 or later.
  • Do not accept `altField` from untrusted sources.
  • Patch affected downstream products using vendor guidance.
  • Prioritize internet-facing or high-trust authenticated web applications.
  • Retest pages using Datepicker after dependency updates.

Validation and detection

  • Inventory deployed jquery-ui versions in source and built assets.
  • Identify Datepicker usage that sets the `altField` option.
  • Trace whether `altField` can come from user-controlled data.
  • Confirm deployed assets load jquery-ui 1.13.0 or later.
  • Review Drupal, Fedora, Oracle, or NetApp advisories if those products are present.
Prepared
Confidence
high
Sources
12

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-41182 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
17Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.5CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N2.83.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.5Medium
CVSS 3.1 vector shape for CVE-2021-41182Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
jqueryjquery-ui< 1.13.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.