Advisories
Act nowExploited · Confirmed

jquery, jquery-rails: JQuery Cross-Site Scripting (XSS) Vulnerability

There is evidence it is being used against people now, on something Phylax follows.

Does it affect what I run?

Checked in your browser. The version you type is not sent anywhere.

Who is affected

  • jquery (npm): from 1.0.3, before 3.5.0
  • jquery-rails (RubyGems): every version, before 4.4.0
  • jQuery (NuGet): from 1.0.3, before 3.5.0
  • org.webjars.npm:jquery (Maven): from 1.0.3, before 3.5.0
  • components/jquery (Packagist): from 1.0.3, before 3.5.0

The fix

  • jquery (npm) fixed in 3.5.0

    npm
    npm install jquery@3.5.0
    pnpm
    pnpm add jquery@3.5.0
    yarn
    yarn add jquery@3.5.0
    bun
    bun add jquery@3.5.0
    Check what is installed
    npm ls jquery
    Paste into Cursor, Lovable or Claude Code
    Upgrade the npm dependency jquery to 3.5.0 or the nearest later release, to fix CVE-2020-11023. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • jquery-rails (RubyGems) fixed in 4.4.0

    bundler
    bundle update --conservative jquery-rails
    Check what is installed
    bundle info jquery-rails
    Paste into Cursor, Lovable or Claude Code
    Upgrade the RubyGems dependency jquery-rails to 4.4.0 or the nearest later release, to fix CVE-2020-11023. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • jQuery (NuGet) fixed in 3.5.0

    dotnet
    dotnet add package jQuery --version 3.5.0
    Check what is installed
    dotnet list package
    Paste into Cursor, Lovable or Claude Code
    Upgrade the NuGet dependency jQuery to 3.5.0 or the nearest later release, to fix CVE-2020-11023. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • org.webjars.npm:jquery (Maven) fixed in 3.5.0

    maven
    mvn versions:use-dep-version -Dincludes=org.webjars.npm:jquery -DdepVersion=3.5.0 -DforceVersion=true
    Check what is installed
    mvn dependency:tree -Dincludes=org.webjars.npm:jquery
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Maven dependency org.webjars.npm:jquery to 3.5.0 or the nearest later release, to fix CVE-2020-11023. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • components/jquery (Packagist) fixed in 3.5.0

    composer
    composer require "components/jquery:^3.5.0" --update-with-all-dependencies
    Check what is installed
    composer show components/jquery
    Paste into Cursor, Lovable or Claude Code
    Upgrade the Packagist dependency components/jquery to 3.5.0 or the nearest later release, to fix CVE-2020-11023. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.

Fix commands generated from the advisory's versions. No model wrote them.

In plain words

Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.

Evidence

Timeline

  1. First published here, as "Listed".
  2. Level changed from "Listed" to "Act now".
  3. Fixed releases changed: added jquery 3.5.0, jquery-rails 4.4.0, jQuery 3.5.0, org.webjars.npm:jquery 3.5.0, components/jquery 3.5.0.
  4. Evidence added: CISA's assessment in the CVE record says exploitation is active. (CISA Vulnrichment (SSVC and KEV fields inside CVE records))
  5. Evidence added: EPSS rates exploitation in the next 30 days as more likely than not. (FIRST EPSS)