CVE-2021-41182: jQuery UI - Stored XSS
- Cve: CVE-2021-41182
- Name: jQuery UI - Stored XSS
- 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.
- Impact: Attackers can execute arbitrary scripts in the context of the user, leading to potential session hijacking or defacement.
- Remediation: Update to version 1.13.0 or later, or avoid accepting untrusted sources for `altField` option.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to pass untrusted string as `altField` value
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.39361
- Epss percentile: 0.9863
- Assignee: [email protected]
- Published at: 2021-10-26T15:15:10Z
- Age in days: 1855
- Modified at: 2026-08-25T16:28:27Z
- Patch available: yes
- Public exploits total: 2
- References total: 16
- Products total: 29
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-41182
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Hackerone
- Reports: 87
- Rank: 86
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/jquery/jquery-ui/security/advisories/GHSA-9gj3-hwp5-pmwc | nvd | 2021-10-26 |
| https://github.com/aredspy/CVE-2021-41182-Tester | poc-in-github | 2024-08-05 |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Sources: nvd
| Product | Affected | Platform bound | Url |
|---|---|---|---|
| jqueryui:jquery_ui | < 1.13.0 | no | /v1/products/jqueryui/jquery_ui |
| debian:debian_linux | = 9.0 | no | /v1/products/debian/debian_linux |
| fedoraproject:fedora | = 36, = 35, = 34, = 33 | no | /v1/products/fedoraproject/fedora |
| oracle:peoplesoft_enterprise_peopletools | = 8.59, = 8.58 | no | /v1/products/oracle/peoplesoft_enterprise_peopletools |
| oracle:weblogic_server | = 14.1.1.0.0, = 12.2.1.4.0, = 12.2.1.3.0 | no | /v1/products/oracle/weblogic_server |
| netapp:h700s_firmware | all versions | yes | /v1/products/netapp/h700s_firmware |
| netapp:h300s_firmware | all versions | yes | /v1/products/netapp/h300s_firmware |
| netapp:h410s_firmware | all versions | yes | /v1/products/netapp/h410s_firmware |
| netapp:h500s_firmware | all versions | yes | /v1/products/netapp/h500s_firmware |
| drupal:drupal | >= 7.0, < 7.86 | no | /v1/products/drupal/drupal |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| jquery/jquery-ui | package, pull, security_advisory | yes | /v1/repositories/jquery/jquery-ui |
Index
- Repositories: 19
- Repositories high signal: 12
- Packages: 2
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2021-10-26
- Remote: yes
- Hackerone reports: 87
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since