Twenty apps, one old script tag
A hospital's legacy internal apps load jQuery 1.x. CVE-2020-11022 and CVE-2020-11023 keep showing up in scans, and the plugins in use break on 3.x.
Challenge
jquery.com says the 1.x and 2.x branches are no longer supported. Their last releases were 1.12.4 and 2.2.4 on 20 May 2016. CVE-2020-11022 affects jQuery from 1.12.0 and CVE-2020-11023 from 1.0.3, both up to but not including 3.5.0, and neither has a fix on 1.x or 2.x. CVE-2020-11023 has been on CISA's Known Exploited Vulnerabilities list since 23 January 2025.
The fix that exists is to move to 3.5.0 or later, and it is a behavior change. jQuery.htmlPrefilter returns its input unchanged from 3.5.0, so code that builds HTML with self-closing tags on non-void elements breaks. Going from 1.x or 2.x also crosses the 3.0 changes, such as the removal of .load(), .unload(), .error() and .size(), asynchronous document-ready handlers and Promises/A+ Deferreds. Old plugins written against those APIs are the part that does not survive, and many are unmaintained.
Environment
About twenty internal web applications used by clinical and administrative staff: scheduling tools, bed-board views, lab result lookups and report pages. Each loads jQuery 1.x through a script tag, from the application's own files or a copy shared on an internal server.
The applications are old, the plugins are older, and the people who wrote them have moved on. The scanner lists the same two CVEs against every one.
Options
Move every app to jQuery 3.5 or later. The right long-term answer. Each application needs its plugins tested, and the jQuery Migrate plugin helps find the removed and changed APIs.
Revert the htmlPrefilter change after upgrading. jQuery's own upgrade guide says that redefining it to the old behavior brings the vulnerability back.
Retire the apps that are no longer used. Cheapest where the usage data shows nobody opens them.
Patch the jQuery 1.x and 2.x files in place. Each page loads a patched file, the plugins keep working and the applications are untouched.
Approach
OSSeva Patch ships patched jQuery 1.x and 2.x builds as drop-in files or packages with a documented patch history and signed artifacts. Critical CVEs (CVSS 9.0 or higher) are fixed within 48 hours and High within 7 days. Where several apps load their own copy, the work is to point each script tag, or the shared internal file, at the patched build. jQuery 3.x and other versions are assessed case by case.
OSSeva Assure adds a jQuery upgrade path assessment, SOC 2 and HIPAA documentation, a HIPAA technical safeguard matrix and 24/7 reactive support. The assessment sorts the apps: which can move to 3.5 or later with small changes, which depend on plugins that will not move, and which are candidates for retirement. The code changes stay with the hospital's developers.
What this delivers
Patched jQuery under every internal application that cannot move to 3.5 today, scanner findings that have a build to point at, and a sorted list of which apps to upgrade or retire. OSSeva jQuery support is priced per application. Book a discovery call for a quote.