{"answers":{"affected":"9 open source packages ship an affected version, including drupal, org.webjars.npm:jquery-ui and jQuery.UI.Combined. It affects 27 products.","exploited":"There is no known exploitation of CVE-2021-41184 in the wild and no public exploit code.","fix":"Upgrade drupal to a fixed version for your release line: 7.86.0, 9.2.11 or 9.3.3.","what":"CVE-2021-41184 is a medium-severity cross-site scripting vulnerability in Drupal Drupal, published on 26 Oct 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-41184 and fix it if it is affected.\n\nWhat it is: CVE-2021-41184 is a medium-severity cross-site scripting vulnerability in Drupal Drupal, published on 26 Oct 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-41184 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- drupal (Bitnami): affected from 7.0.0; fixed in 7.86.0, 9.2.11, 9.3.3\n- org.webjars.npm:jquery-ui (Maven): affected all versions; fixed in 1.13.0\n- org.webjars.npm:jquery-ui (Maven): affected all versions; fixed in 1.13.0\n- jQuery.UI.Combined (NuGet): affected all versions; fixed in 1.13.0\n- jQuery.UI.Combined (NuGet): affected all versions; fixed in 1.13.0\n- jquery-ui-rails (RubyGems): affected all versions; fixed in 7.0.0\n- jquery-ui-rails (RubyGems): affected all versions; fixed in 7.0.0\n- jquery-ui (npm): affected all versions; fixed in 1.13.0\n- jquery-ui (npm): affected all versions; fixed in 1.13.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-41184/ (Markdown: https://insights.sbomify.com/CVE-2021-41184/index.md)","id":"CVE-2021-41184","markdown":"https://insights.sbomify.com/CVE-2021-41184/index.md","name":"CVE-2021-41184","record":{"aliases":["BIT-drupal-2021-41184","DEBIAN-CVE-2021-41184","GHSA-gpqq-952q-5327","MINI-275h-hw74-rfr2","UBUNTU-CVE-2021-41184"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"jQuery UI library","requires_auth":"none","summary":"Attackers can execute arbitrary JavaScript by passing untrusted strings to the position utility's 'of' option in jQuery UI.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"drupal","vendor":"drupal"},{"product":"fedora","vendor":"fedoraproject"},{"product":"jquery_ui","vendor":"jqueryui"},{"product":"h300e_firmware","vendor":"netapp"},{"product":"h300s_firmware","vendor":"netapp"},{"product":"h410c_firmware","vendor":"netapp"},{"product":"h410s_firmware","vendor":"netapp"},{"product":"h500e_firmware","vendor":"netapp"},{"product":"h500s_firmware","vendor":"netapp"},{"product":"h700e_firmware","vendor":"netapp"},{"product":"h700s_firmware","vendor":"netapp"},{"product":"agile_product_lifecycle_management","vendor":"oracle"},{"product":"application_express","vendor":"oracle"},{"product":"banking_platform","vendor":"oracle"},{"product":"big_data_spatial_and_graph","vendor":"oracle"},{"product":"communications_interactive_session_recorder","vendor":"oracle"},{"product":"communications_operations_monitor","vendor":"oracle"},{"product":"hospitality_inventory_management","vendor":"oracle"},{"product":"hospitality_materials_control","vendor":"oracle"},{"product":"hospitality_suite8","vendor":"oracle"},{"product":"jd_edwards_enterpriseone_tools","vendor":"oracle"},{"product":"peoplesoft_enterprise_peopletools","vendor":"oracle"},{"product":"policy_automation","vendor":"oracle"},{"product":"primavera_unifier","vendor":"oracle"},{"product":"rest_data_services","vendor":"oracle"},{"product":"weblogic_server","vendor":"oracle"},{"product":"tenable.sc","vendor":"tenable"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value of the `of` option of the `.position()` util from untrusted sources may execute untrusted code. The issue is fixed in jQuery UI 1.13.0. Any string value passed to the `of` option is now treated as a CSS selector. A workaround is to not accept the value of the `of` option from untrusted sources.","ecosystems":["Bitnami","Maven","NuGet","RubyGems","npm"],"exploits":{"exploitdb":0,"first_seen":"2022-04-14","github_poc":1,"max_poc_stars":6,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-04-14T13:42:54Z","kind":"github_poc","ref":"https://github.com/gabrielolivra/Exploit-Medium-CVE-2021-41184","stars":6,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"XSS in the `of` option of the `.position()` util","id":"CVE-2021-41184","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"drupal:drupal","products":["drupal:drupal","fedoraproject:fedora","netapp:h300e_firmware","netapp:h300s_firmware","netapp:h410c_firmware","netapp:h410s_firmware","netapp:h500e_firmware","netapp:h500s_firmware","netapp:h700e_firmware","netapp:h700s_firmware","oracle:agile_product_lifecycle_management","oracle:banking_platform","oracle:jd_edwards_enterpriseone_tools","oracle:peoplesoft_enterprise_peopletools","oracle:primavera_unifier","oracle:weblogic_server"],"type":"xss","year":"2021"},"n_packages":9,"n_references":14,"next":{"headline":"Download file outside intended directory","id":"CVE-2021-41185"},"packages":[{"ecosystem":"Bitnami","fixed":["7.86.0","9.2.11","9.3.3"],"introduced":["7.0.0","9.2.0","9.3.0"],"last_affected":[],"package":"drupal","purl":"pkg:bitnami/drupal","source":"BIT-drupal-2021-41184"},{"ecosystem":"Maven","fixed":["1.13.0"],"introduced":["0"],"last_affected":[],"package":"org.webjars.npm:jquery-ui","purl":null,"source":"GHSA-gpqq-952q-5327"},{"ecosystem":"Maven","fixed":["1.13.0"],"introduced":["0"],"last_affected":[],"package":"org.webjars.npm:jquery-ui","purl":"pkg:maven/org.webjars.npm/jquery-ui","source":"GHSA-gpqq-952q-5327"},{"ecosystem":"NuGet","fixed":["1.13.0"],"introduced":["0"],"last_affected":[],"package":"jQuery.UI.Combined","purl":null,"source":"GHSA-gpqq-952q-5327"},{"ecosystem":"NuGet","fixed":["1.13.0"],"introduced":["0"],"last_affected":[],"package":"jQuery.UI.Combined","purl":"pkg:nuget/jQuery.UI.Combined","source":"GHSA-gpqq-952q-5327"},{"ecosystem":"RubyGems","fixed":["7.0.0"],"introduced":["0"],"last_affected":[],"package":"jquery-ui-rails","purl":null,"source":"GHSA-gpqq-952q-5327"},{"ecosystem":"RubyGems","fixed":["7.0.0"],"introduced":["0"],"last_affected":[],"package":"jquery-ui-rails","purl":"pkg:gem/jquery-ui-rails","source":"GHSA-gpqq-952q-5327"},{"ecosystem":"npm","fixed":["1.13.0"],"introduced":["0"],"last_affected":[],"package":"jquery-ui","purl":null,"source":"GHSA-gpqq-952q-5327"},{"ecosystem":"npm","fixed":["1.13.0"],"introduced":["0"],"last_affected":[],"package":"jquery-ui","purl":"pkg:npm/jquery-ui","source":"GHSA-gpqq-952q-5327"}],"prev":{"headline":"XSS in `*Text` options of the Datepicker widget","id":"CVE-2021-41183"},"products":["jquery-ui"],"published":"2021-10-26","related":[{"cvss_score":9.8,"headline":"Drupal Core SQL Injection","id":"CVE-2026-9082","kev_date_added":"2026-05-22","published":"2026-05-20"},{"cvss_score":8.8,"headline":"Drupal core Un-restricted Upload of File","id":"CVE-2020-13671","kev_date_added":"2022-01-18","published":"2020-11-20"},{"cvss_score":8.1,"headline":"Drupal Core Remote Code Execution","id":"CVE-2019-6340","kev_date_added":"2022-03-25","published":"2019-02-21"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2009-3352","kev_date_added":null,"published":"2009-09-24"},{"cvss_score":9.8,"headline":"Drupal core - Less critical - Gadget chain - SA-CORE-2024-006","id":"CVE-2024-55636","kev_date_added":null,"published":"2024-12-09"},{"cvss_score":9.8,"headline":"Drupal core - Moderately critical - Gadget chain - SA-CORE-2024-007","id":"CVE-2024-55637","kev_date_added":null,"published":"2024-12-09"},{"cvss_score":9.8,"headline":"Drupal core - Moderately critical - Gadget chain - SA-CORE-2024-008","id":"CVE-2024-55638","kev_date_added":null,"published":"2024-12-09"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-11-04","vendors":["jquery"]},"summary":"Attackers can execute arbitrary JavaScript by passing untrusted strings to the position utility's 'of' option in jQuery UI.","url":"https://insights.sbomify.com/CVE-2021-41184/"}