JavaScript library security on the web's most visited sites still leans on old jQuery: of the 5,950 Tranco top 10,000 sites whose homepage returned HTML on 4 December 2026, 25.3% load jQuery, and 30.4% of those with a readable version run one older than 3.5.0. Only 6.1% of cross-origin script tags carry Subresource Integrity.
Quick answer. One measured site in four loads jQuery, and almost one in three of those with a readable version is below 3.5.0, the release that fixed CVE-2020-11022 and CVE-2020-11023 (the second is in CISA's Known Exploited Vulnerabilities catalog). Across 16 libraries, 6.7% of all sites load a version inside a published OSV advisory range. Subresource Integrity is rare: 5.3% of sites that load cross-origin script protect all of it.
This is Stingrai's own census, the fourth on the same Tranco list. It reads each homepage's HTML and records its <script> tags: the libraries and versions their URLs name, integrity and crossorigin, and source hosts. Script files were never fetched or run. Results are aggregates by Tranco rank band; no site is named.
JavaScript library security at a glance: the 2026 census
Measure (Tranco top 10,000, list 94LV2, 4 December 2026) | Sites | Share |
|---|---|---|
Homepage loads at least one external script | 5,525 | 92.9% of 5,950 |
Loads one of the 16 tracked libraries from a named URL | 1,791 | 30.1% of 5,950 |
Loads jQuery | 1,503 | 25.3% of 5,950 |
jQuery version older than 3.5.0 (CVE-2020-11023 range) | 316 | 30.4% of 1,039 versioned |
jQuery 1.x or 2.x (no longer supported by the project) | 229 | 22.0% of 1,039 versioned |
Any tracked library version inside an OSV advisory range | 397 | 6.7% of 5,950; 35.0% of 1,133 versioned |
Loads at least one cross-origin script | 4,279 | 71.9% of 5,950 |
Every cross-origin script carries Subresource Integrity | 227 | 5.3% of 4,279 |
Loads script from a third-party host | 3,960 | 66.6% of 5,950 |
HTTPS page loads a script over plain HTTP | 4 | 0.07% of 5,939 |
Generator meta tag discloses a WordPress version | 247 | 4.2% of 5,950 |
CSP meta tag that restricts scripts | 70 | 1.2% of 5,950 |
Source: Stingrai census of the Tranco top 10,000 (list ID 94LV2, generated 3 December 2026), crawled 4 December 2026 from 21:11 to 21:37 UTC. Base: the 5,950 sites whose homepage returned a final 2xx HTML response. "Versioned" means the script URL carries a version under the rules in the Method.
The 4,050 listed domains without a final 2xx HTML response are excluded from every share: 1,502 answered 403 or 429, often bot protection; 1,394 ended in a DNS lookup failure (Tranco ranks registrable domains, many of them CDN, API or tracking domains with no website); 322 failed the TLS handshake or certificate validation; 318 refused, reset, could not reach the connection or sent a malformed response; 280 returned another 4xx; 84 timed out after one retry; 57 returned a 5xx; 52 returned a 2xx that was not HTML; 31 redirected badly; and 10 returned an empty body.
Which JavaScript libraries do the top 10,000 sites load?

Figure 1: Share of 5,950 measured sites whose homepage loads each library from a script URL that names it. Source: Stingrai census of the Tranco list 94LV2.
The median homepage carries 7 script tags with a src attribute (90th percentile 30) and 6 inline scripts (90th percentile 28); 91.9% have at least one inline script and 2.7% have no script at all. jQuery is the only library above 10%: 1,503 sites (25.3%), against 5.9% for Bootstrap's JavaScript, 5.3% for jQuery Migrate, 4.6% for Swiper and 3.4% for jQuery UI.
These are lower bounds. A site that bundles React, Vue or Lodash into its own build file names no library in its URL, so React (1.5%) and Vue (0.5%) look small: the census sees only standalone builds. A version is readable for 69.1% of jQuery sites, from the file name on 556 sites, WordPress core's ver= value on 289 and a /<name>/x.y.z/ directory on 222, mostly public CDNs (a site can have more than one).
What are the jQuery vulnerabilities, and how many sites still run them?
The jQuery vulnerabilities that matter most today are CVE-2020-11022 and CVE-2020-11023, two cross-site scripting flaws: per the GitHub advisories, passing HTML from untrusted sources to jQuery's DOM manipulation methods, such as .html() and .append(), may execute untrusted code, even after sanitizing it. The jQuery 3.5.0 release post (10 April 2020) calls the release a security fix and says the HTML parser in versions up to 3.4.1 had edge cases with unintended consequences. The GitHub advisories give the ranges: GHSA-gxr4-xjj5-5px2 (CVE-2020-11022) affects 1.12.0 up to 3.5.0, and GHSA-jpcq-cgw6-v4j6 (CVE-2020-11023) affects 1.0.3 up to 3.5.0. CISA added CVE-2020-11023 to its Known Exploited Vulnerabilities catalog on 23 January 2025, with a federal due date of 13 February 2025. It is the only CVE among the 122 advisories this census evaluated that is in the catalog.

Figure 2: The oldest jQuery version each site loads, by branch. Source: Stingrai census of the Tranco list 94LV2.
316 of the 1,039 sites with a readable jQuery version (30.4%) run one older than 3.5.0, and every one of them falls inside the CVE-2020-11023 range. By branch: 188 sites (18.1%) still run 1.x, 41 (3.9%) run 2.x, 87 (8.4%) run 3.0 to 3.4, 718 (69.1%) run 3.5 or later on the 3.x line, and only 5 (0.5%) run 4.x. The most common versions are 3.7.1 (403 sites), 3.5.1 (200), 3.6.0 (88), 3.4.1 (37) and 1.12.4 (33). 33 sites load two or more different jQuery versions on the same homepage.
Support status makes the old branches worse than their advisory count suggests. The jQuery support page says the project supports only the latest version, that the 1.x and 2.x branches are no longer supported, and that 3.x receives only critical security patches and bug fixes; the current branch is 4.x, and the download page offered 4.1.0 on 4 December 2026. So 229 sites (22.0% of versioned jQuery sites) run a branch that will not receive any fix.
Sites whose jQuery version falls in each advisory range (a site can match several):
jQuery advisory (OSV npm) | CVE | Affected range | Sites |
|---|---|---|---|
GHSA-jpcq-cgw6-v4j6 | CVE-2020-11023 (in KEV) | 1.0.3 up to 3.5.0 | 316 |
GHSA-6c3j-c64m-qhgq | CVE-2019-11358 | 1.1.4 up to 3.4.0 | 279 |
GHSA-rmxg-73gg-4p98 | CVE-2015-9251 | up to 3.0.0 (except 1.12.2) | 226 |
GHSA-gxr4-xjj5-5px2 | CVE-2020-11022 | 1.12.0 up to 3.5.0 | 174 |
"Up to" means the fixed version is not affected. Source: Stingrai census; ranges from the OSV npm export downloaded 4 December 2026.
WordPress is the largest single source of current jQuery. WordPress core registers its bundled jQuery at /wp-includes/js/jquery/jquery.min.js with version 3.7.1 in its script loader, and appends the registered version to the URL as ver=. 327 measured sites load that exact path. The upgrade path for the rest is documented by jQuery itself: the 3.5 upgrade guide warns that restoring the old HTML prefilter to keep legacy code working removes the security fix.
Which other library versions carry known advisories?

Figure 3: Share of sites with a readable version that load a version inside at least one OSV advisory range, libraries with 10 or more versioned sites. Source: Stingrai census of the Tranco list 94LV2.
Across all 16 libraries, 397 sites load at least one version inside a published advisory range: 35.0% of the 1,133 sites with any readable version, and 6.7% of all measured sites. The library-level picture:
Library | Sites with a readable version | Inside an advisory range | Advisory on the most sites |
|---|---|---|---|
jQuery | 1,039 | 316 (30.4%) | GHSA-jpcq-cgw6-v4j6, CVE-2020-11023 |
jQuery UI | 138 | 52 (37.7%) | GHSA-h6gj-6jjq-h8g9, CVE-2022-31160 (fixed in 1.13.2) |
Bootstrap (JS) | 88 | 35 (39.8%) | GHSA-9v3m-8fp8-mj99, CVE-2019-8331 |
Swiper | 38 | 35 (92.1%) | GHSA-hmx5-qpq5-p643, CVE-2026-27212 (6.5.1 up to 12.1.2) |
Lodash | 14 | 5 (35.7%) | GHSA-r5fr-rjxr-66jc, CVE-2026-4800 ( |
Select2 | 10 | 4 (40.0%) | GHSA-rf66-hmqf-q3fc, CVE-2016-10744 |
Vue | 8 | 6 | GHSA-5j4c-8p2g-v4jx, CVE-2024-9506 (all of Vue 2) |
Handlebars | 7 | 7 | GHSA-2w6w-674q-4c4q, CVE-2026-33937 |
DOMPurify | 5 | 5 | GHSA-hrxw-jjj6-2g2j, CVE-2026-144292 |
Moment.js | 4 | 4 | three advisories, 2 sites each |
AngularJS (1.x) | 3 | 3 | twelve advisories on all 3 sites |
jQuery Migrate, React, ReactDOM, Popper | 276, 18, 16, 26 | 0 | none in range |
Source: Stingrai census; advisories from the OSV npm export, withdrawn records excluded. Shares are not given below 10 versioned sites.
Swiper stands out: 35 of 38 versioned sites fall into one of two prototype pollution advisories that OSV rates critical, GHSA-hmx5-qpq5-p643 (20 sites) and GHSA-p3hc-fv2j-rp68 (CVE-2021-23370, before 6.5.1; 15 sites). Two libraries are past end of life by their own projects' notices: AngularJS support ended in January 2022, and Vue 2 reached end of life on 31 December 2023, which is why the Vue 2 advisory covers every 2.x version.
Read the advisory column with care: several Lodash, Moment.js and Handlebars advisories concern template compilation or locale loading on a server or at build time. The version match is a fact; whether the flaw is reachable is a separate question.
What is Subresource Integrity, and how many sites use it?
Subresource Integrity (SRI) lets a browser check that a script it fetched from another origin is exactly the file the page expected. The page puts a cryptographic hash of the file in the script tag's integrity attribute; if the file served does not match, the browser refuses to run it. The W3C specification defines it as a way to verify a resource was delivered without unexpected manipulation, and MDN lists sha256, sha384 and sha512 as the allowed hash prefixes. A cross-origin script also needs the crossorigin attribute: MDN notes that browsers do not allow no-cors requests to use integrity, so such a request will always fail.

Figure 4: Subresource Integrity on cross-origin scripts. Source: Stingrai census of the Tranco list 94LV2.
The census found 27,491 cross-origin script tags, and 1,682 (6.1%) carry an integrity attribute with a well-formed hash. Of 19,602 tags from a third-party domain, 7.9% do. Tags served from public library CDNs do best at 15.3% (218 of 1,424), which fits: a pinned library file never changes, so a hash stays valid. At site level, 4,279 sites (71.9%) load at least one cross-origin script, and only 227 of them (5.3%) protect every one; 1,015 sites (17.1%) use SRI on at least one tag. Of the 719 sites loading from public library CDNs, 76 (10.6%) protect all of those tags.
The sites that do use SRI mostly use it correctly: 99.6% of the 1,682 cross-origin tags with integrity also set crossorigin, and only 6 of them omit it. Counting each hash value on those tags, sha512 appears 751 times, sha384 585 times and sha256 362 times. A hash only fits a file that does not change, so SRI does not suit scripts whose content changes by design, such as a tag manager container or an analytics loader. That helps explain the low share, and it is why third-party script needs other controls too.
How many third-party script hosts does a homepage load?

Figure 5: Distinct third-party script hosts per homepage, counted from the HTML only. Source: Stingrai census of the Tranco list 94LV2.
3,960 sites (66.6%) load script from at least one host on a registrable domain other than their own. The median is 1 host, the 90th percentile 4, and the most seen on one homepage is 15; across all sites the census saw 2,263 distinct third-party script hosts. These counts cover only script tags in the HTML. Scripts that other scripts load at runtime are not seen, so the real number a browser executes can be higher.
Third-party script host | Sites | Share of 5,950 |
|---|---|---|
www.googletagmanager.com | 929 | 15.6% |
static.cloudflareinsights.com | 683 | 11.5% |
cdn.cookielaw.org | 310 | 5.2% |
cdn.jsdelivr.net | 275 | 4.6% |
securepubads.g.doubleclick.net | 270 | 4.5% |
cdnjs.cloudflare.com | 243 | 4.1% |
ajax.googleapis.com | 241 | 4.1% |
www.google.com | 171 | 2.9% |
assets.adobedtm.com | 160 | 2.7% |
www.gstatic.com | 152 | 2.6% |
Source: Stingrai census. Hosts are counted once per site. Naming a host describes where script is loaded from, not a finding against it.
Mixed content is close to gone from top homepages: 4 of 5,939 HTTPS pages (0.07%) load a script over plain HTTP, 10 tags in all, and 3 of those sites load third-party script that way.
Why do third-party scripts matter on payment pages?
Every script on a page runs with the page's full authority: it can read form fields and rewrite what the user sees. On a checkout page that makes each third-party script a path to card data. PCI DSS requirements 6.4.3 and 11.6.1 address this directly (v4.0.1 was the current version when the PCI SSC published the guidance below in March 2025). A PCI Security Standards Council post of 10 March 2025, introducing an information supplement on payment page security, says these requirements focus on payment page scripts being authorized, checked for integrity and monitored for tampering, and that scripts running in consumers' browsers are a significant target for attackers stealing card data. This census measured homepages, not checkouts, but the same habits (tag managers, analytics and ad scripts, few integrity hashes) are what a payment page assessment inventories.
How current are WordPress sites that disclose a version?

Figure 6: WordPress versions in the generator meta tag of 247 sites, grouped against the latest release, 7.1.5. Source: Stingrai census of the Tranco list 94LV2.
894 sites (15.0%) publish a generator meta tag, and 247 (4.2%) use it to name a WordPress version, against 600 sites (10.1%) whose script URLs show WordPress paths. WordPress's own version-check API offered 7.1.5 as the latest release on 4 December 2026. Of the 247 sites, 142 (57.5%) run exactly 7.1.5 and 159 (64.4%) are on the 7.1 branch, so 17 are behind on a patch release. 86 sites (34.8%) run an older branch: 23 on 7.0.x, 54 on 6.x, 7 on 5.x and 2 on 4.x or older. 2 report a version newer than the latest release. Read this as the disclosing minority only.
Do the top 100 sites differ from the rest?

Figure 7: Measures by Tranco rank band (55, 484 and 5,411 measured sites). Source: Stingrai census of the Tranco list 94LV2.
jQuery appears on 5.5% of measured sites in ranks 1 to 100, 16.5% in 101 to 1,000 and 26.2% in 1,001 to 10,000; a version with a known advisory appears on 3.6%, 3.9% and 6.9%. Of versioned jQuery sites, 14 of 57 in ranks 101 to 1,000 and 301 of 981 below run a version older than 3.5.0 (the top band has a single versioned site). The generator tag follows the same slope (9.1%, 13.2%, 15.2%); complete SRI coverage does not (5.7%, 3.6%, 5.4%).
Because this census reads the HTML, it also sees what the security headers census could not: Content Security Policy set by a <meta> tag. 112 sites (1.9%) have one, and 70 (1.2%) restrict scripts with it. 37 include upgrade-insecure-requests, and for 26 that is the only directive.
How does this census compare with the HTTP Archive Web Almanac?
The HTTP Archive Web Almanac 2025 security chapter (published 15 January 2026) reports SRI on 25.9% of desktop and 23.6% of mobile pages, with the median page protecting 2.82% of its scripts. Its third parties chapter puts pages with at least one third party at 90% or more. Its data is the July 2025 crawl of 16,213,084 websites from the Chrome UX Report, a different population and a different method. This census reads only the static homepage HTML and counts script tags, so scripts added at runtime are missing from its SRI share (17.1% of sites with any integrity attribute) and its third-party share (66.6%). Compare direction, not percentages.
What is JavaScript security, and where do libraries fit?
JavaScript security is the practice of keeping the code that runs in a user's browser from being turned against that user: injection such as cross-site scripting, unsafe use of the DOM, leaked tokens, and the libraries and third-party scripts the page pulls in. Libraries are the supply chain part. The OWASP Top 10 2025 lists it as A03:2025, Software Supply Chain Failures, which grew out of the 2013 entry on using components with known vulnerabilities. OWASP says an application is likely vulnerable if it does not track the versions of client-side and server-side components, or runs software that is vulnerable, unsupported or out of date. It reports the highest average incidence rate of any 2025 category, 5.19%.
What does an outdated library prove, and what does it not?
A vulnerable version on a homepage is a lead, not a finding. Stingrai's guidance:
The vulnerable function has to be reachable. CVE-2020-11023 affects how jQuery handles HTML passed to its DOM methods. A page that never passes attacker-influenced input to those methods is not exploitable through it, though the library should still be upgraded.
Exploitability is established on the application. Penetration testers trace whether user input reaches the affected function and confirm it safely.
The homepage is not the application. Login, account, admin and checkout pages often load different bundles.
An unsupported branch is a finding in itself. jQuery 1.x and 2.x, AngularJS and Vue 2 will not receive fixes, so the next advisory will stay open.
Third-party script is trust you cannot inspect at runtime. SRI covers static files; dynamic scripts need an inventory, a Content Security Policy and change monitoring.
How does a web application penetration test report components?
In a Stingrai web application penetration test, the penetration testers inventory client-side components on the pages that matter (authentication, account settings, payment and administration), including libraries bundled into the application's own files, then test whether each known flaw is reachable with input an attacker controls. A library with a known advisory but no reachable path is reported as low or informational with the version to move to; one that leads to cross-site scripting or account takeover is rated as the attack it enables. Third-party scripts on sensitive pages are listed with their origin, whether they carry integrity and what the Content Security Policy allows. Findings are posted to the portal as they are confirmed, with a proof of concept and remediation guidance, and retesting is included.
Stingrai is a global CREST-accredited penetration testing services company founded in Toronto, Canada in 2021, trusted by companies from startups to enterprises to meet audit requirements for SOC 2, ISO 27001, CMMC, PCI DSS and HIPAA. OSCE³, OSWE, OSEP, CREST CRT certified penetration testers, who are also world-class security researchers and bug bounty hunters. Choose from fully human-led or hybrid (AI agents plus human penetration testers) engagements across web, API, mobile, AI and LLM, cloud, network, Active Directory and social engineering penetration tests and red team engagements.
Libraries and third-party scripts change with every release, so a one-off check ages fast. Stingrai's Hybrid Pentest pairs Snipe, Stingrai's autonomous agent for web applications and associated APIs, with certified penetration testers who test the same application manually alongside it and validate Snipe's findings. It is US$6,800 per assessment one-time, or US$1,275 per month on a 12-month plan for continuous testing (monthly Snipe testing, human-verified, plus a quarterly deep dive by Stingrai's penetration testers), for one web application and associated APIs, with an attestation letter. See the pricing page, or Get a Quote for anything larger.
Method
Site list. The Tranco list with ID 94LV2, generated on 3 December 2026 from the Crux, Farsight, Majestic, Radar and Umbrella lists for 4 November to 3 December 2026, combined with the Dowdall rule and filtered to pay-level domains; ranks 1 to 10,000. The permanent list page is tranco-list.eu/list/94LV2. It is the same list as Stingrai's security headers, DMARC and post-quantum TLS censuses.
Crawl window. 4 December 2026, 21:11:28 to 21:36:33 UTC, from one vantage point. A test run on ranks 1 to 20 opened the window; the main run covered ranks 21 to 10,000 with the same code.
Requests per site. One plain GET of
https://<domain>/, following up to 5 redirects. Only if that first request failed on DNS or on the connection (no address, refused, reset, unreachable, or a timeout after its one retry), one GET ofhttps://www.<domain>/with the same redirect rule. Nothing else: script files were never fetched, and there were no other paths, no query strings, no forms, no login, no JavaScript execution and no vulnerability checks. One retry on a timeout and no other retries. The crawl sent 18,415 requests in all, including 186 retries; thewwwrequest was made for 2,117 sites, and 201 measured sites were measured on it. No site received more than 6 requests.Politeness. At most 16 sites in flight, a 15-second timeout per request, at most 2 MB of decoded HTML read (86 bodies reached the cap), and the body scanned in memory with a non-executing tokenizer and then discarded. The User-Agent was a generic desktop browser string followed by "(census)".
Stored. For each site: rank, statuses, error class, the final host class (listed domain,
www, same site or other) and content type, and the extracted features: each scriptsrcURL (first-party hosts replaced by a placeholder), itsintegrity,crossoriginandtypeattributes, the inline script count, generator meta content and the directive names of any CSP meta tag.Denominator. A site is measured when its final response is 2xx with an HTML content type (or no content type and a body that opens as HTML) and a non-empty body: 5,950 sites (55 in ranks 1 to 100, 484 in 101 to 1,000 and 5,411 in 1,001 to 10,000); 5,939 ended on HTTPS and 11 on HTTP. Exclusions are listed by reason in the at-a-glance section.
Script tags. HTML comments and the contents of
noscript,template,styleandtextareaare skipped. Eachsrcis resolved against the page URL (or a<base>tag). Cross-origin means a different origin from the final page; third-party means a registrable domain, computed with the Public Suffix List, different from both the listed domain and the final page. Inline scripts are tags withoutsrcand with content, excluding data types such as JSON and templates.Library detection. A library is detected only from the last path segment of a script URL (versions may also come from the directory, below), using the file names in the table. File names may carry a number right after the library name, joined by
-or.and optionally av, whose first part is one or two digits. A fullx.y.zis read as a version; a partial number such asjquery-3.6.jsorreact-19.min.jsnames the library but gives no version. The number comes before.bundle(Bootstrap) and after.runtime(Handlebars),.full(Select2),-bundle(Swiper) and-with-locales(Moment.js). Builds may add-latest(jQuery),.custom(jQuery UI),.production,.developmentor.profiling(React, ReactDOM), any of.global,.runtime,.esm-browser,.prodand.common(Vue),.esor.cjs(DOMPurify),.slim(jQuery),.min(-minfor Underscore), and a.-separated 8 to 40 character hexadecimal build hash before.js.
Library | File names that identify it (last path segment) | Directory aliases for | npm package checked in OSV |
|---|---|---|---|
jQuery |
| jquery | jquery |
jQuery UI |
| jqueryui, jquery-ui, ui (code.jquery.com only) | jquery-ui, jquery-ui-dist |
jQuery Migrate |
| jquery-migrate | jquery-migrate |
Bootstrap (JS) |
| bootstrap, twitter-bootstrap | bootstrap |
AngularJS (1.x) |
| angularjs, angular.js | angular |
Lodash |
| lodash.js, lodash | lodash |
Underscore |
| underscore.js, underscore | underscore |
Moment.js |
| moment.js, moment | moment |
Handlebars |
| handlebars.js, handlebars | handlebars |
Vue |
| vue | vue |
React and ReactDOM (UMD) |
| react, react-dom | react, react-dom |
DOMPurify |
| dompurify | dompurify |
Swiper |
| swiper | swiper |
Select2 |
| select2 | select2 |
Popper |
| popper.js | popper.js (1.x), @popperjs/core (2.x) |
Version rule. Only a full
x.y.zcounts, and the first match wins: (1) for WordPress core's exact paths (/wp-includes/js/jquery/jquery(.min).js,jquery-migrate(.min).jsandui/core(.min).js), thever=value, because WordPress registers these scripts with the library version and appends it asver=; the value must also be a published npm release of that package, which rejected 6 values; (2) an npm-stylename@x.y.zin the path; (3) a version in the file name; (4) a directory/<alias>/x.y.z/. A genericver=on any other path is never read as a version.Advisory rule. The OSV npm export (
all.zip, downloaded 4 December 2026 at 21:12 UTC, 233,656 records) was filtered to the npm packages above: 122 advisories, after skipping 11 withdrawn records and 1 malicious-package record. A version is affected when it falls inside a SEMVER range: events sorted, affected from anintroducedversion up to but not includingfixed, or up to and includinglast_affected; an explicitversionslist also counts. Comparison uses the semver package (7.7.3). A site counts once per library if any version it loads is affected; jQuery branches use the oldest version per site.Public library CDNs. code.jquery.com, cdnjs.cloudflare.com, cdn.jsdelivr.net, unpkg.com, ajax.googleapis.com, stackpath.bootstrapcdn.com, maxcdn.bootstrapcdn.com, netdna.bootstrapcdn.com, ajax.aspnetcdn.com, cdn.datatables.net and ajax.cloudflare.com.
Other rules. SRI counts an
integrityattribute holding at least onesha256-,sha384-orsha512-value. Mixed content is anhttp:script URL on a page whose final URL is HTTPS. WordPress currency compares the generator version with 7.1.5 from the WordPress version-check API. A CSP meta tag restricts scripts when it hasscript-src,script-src-elemordefault-src.Limits. One vantage point at one time; some sites serve different HTML to automated clients, and bot-challenge pages that return 2xx are counted as served. Only the homepage HTML is read: scripts injected at runtime, loaded by other scripts, or bundled without a version in the URL are invisible, so library and third-party figures are lower bounds. The bare registrable domain is requested first. Tranco ranks domains, not organisations.
Reproducing it. Take list 94LV2, apply the request and detection rules above, keep sites whose final response is 2xx HTML, and count. Pages change daily, so a later crawl will differ at the margin; this page is a snapshot of 4 December 2026.
How to cite this page
Stingrai Research Team. "JavaScript Library Security Census 2026: Outdated jQuery and SRI on 10,000 Sites." Stingrai, 4 December 2026. https://www.stingrai.io/blog/javascript-library-security-census-2026
Cite the site list to Tranco (list ID 94LV2), advisory data to OSV, and the computed figures to this page with the crawl date, 4 December 2026. This analysis is licensed under CC BY 4.0.
Frequently asked questions
How many top websites run a vulnerable jQuery version in 2026?
Of the 5,950 Tranco top 10,000 sites whose homepage returned HTML on 4 December 2026, 1,503 (25.3%) load jQuery and 1,039 expose a readable version. 316 of those (30.4%) run a version older than 3.5.0, inside the range of CVE-2020-11023, and 229 (22.0%) run the unsupported 1.x or 2.x branches, by Stingrai's census.
What are the main jQuery vulnerabilities?
The most important are CVE-2020-11022 and CVE-2020-11023, cross-site scripting flaws in how jQuery's DOM methods handle HTML, fixed in jQuery 3.5.0. CVE-2020-11023 is in CISA's Known Exploited Vulnerabilities catalog, added 23 January 2025. Older advisories include CVE-2019-11358 (fixed in 3.4.0) and CVE-2015-9251 (fixed in 3.0.0).
Is jQuery still safe to use?
Current jQuery is maintained: the project's latest release on 4 December 2026 was 4.1.0, and 3.x still receives critical security patches and bug fixes. The 1.x and 2.x branches are no longer supported. Versions before 3.5.0 carry CVE-2020-11023. Using jQuery is not the risk; running an old version, or passing untrusted HTML to its DOM methods, is.
What is Subresource Integrity?
Subresource Integrity is a browser feature, defined by the W3C, that checks a fetched script or stylesheet against a hash in the tag's integrity attribute and refuses to run it if the file changed. Cross-origin files also need the crossorigin attribute. In Stingrai's census, 6.1% of cross-origin script tags on top sites carry it.
Why is Subresource Integrity so rarely used?
SRI only works for files that never change, such as a pinned library version on a CDN. Tag managers, analytics and advertising scripts change by design, so a hash would break them. In Stingrai's census, 15.3% of public library CDN tags carry SRI against 7.9% of all third-party tags, and 5.3% of sites with cross-origin script protect all of it.
What is JavaScript security?
JavaScript security is protecting the code that runs in a user's browser from being used against that user: injection such as cross-site scripting, unsafe DOM handling, exposed tokens, and vulnerable libraries or third-party scripts. OWASP covers the library part as A03:2025, Software Supply Chain Failures, which includes running client-side components that are vulnerable, unsupported or out of date.
Does an outdated JavaScript library mean a site is vulnerable?
Not on its own. It means the site runs code with a published flaw; exploitation needs the vulnerable function to be reachable with attacker-controlled input. A penetration test traces that path and confirms it safely. An unsupported branch is still worth fixing, because the next flaw found in it will not be patched.
How many third-party scripts does a typical website load?
In Stingrai's census, 66.6% of top sites load script from at least one third-party host in their homepage HTML. The median is 1 host, the 90th percentile 4 and the maximum 15. The most common is Google Tag Manager on 15.6% of sites. Tag managers load more scripts at runtime, so these are lower bounds.
Related reading
Security Headers Census 2026: HSTS, CSP, X-Frame-Options and security.txt on 10,000 Sites
Open Source Vulnerability Statistics 2026: npm, PyPI, Maven and Malicious Packages
Cross-Site Scripting (XSS): Real Examples, How Testers Find It and How to Fix It
Supply Chain Attack Statistics 2026: Open Source, Third Party, and SaaS Risk
Web Application Security Statistics 2026: Attacks, Vulnerabilities and Fix Times
Website Penetration Testing (2026): What It Covers, What It Costs and How Long It Takes
Single-Page Application Penetration Testing: Browser, API and Session Scope (2026)
Post-Quantum TLS Census 2026: ML-KEM, TLS 1.3 and Certificate Lifetimes on 10,000 Sites
WordPress Vulnerability Statistics 2026: Plugin CVEs, Severity and Unauthenticated Flaws
References
Tranco. Information on the Tranco list with ID 94LV2. Generated 3 December 2026. https://tranco-list.eu/list/94LV2/1000000. Research-oriented top sites ranking (Le Pochat et al., NDSS 2019); ranks 1 to 10,000 used as the site list.
Stingrai. JavaScript library census crawl. 4 December 2026, 21:11 to 21:37 UTC. Every census figure on this page is Stingrai's computation; method above.
OSV. npm ecosystem export (all.zip). Downloaded 4 December 2026. https://osv-vulnerabilities.storage.googleapis.com/npm/all.zip. Advisory ranges for the 16 libraries.
jQuery. jQuery 3.5.0 Released! 10 April 2020. https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/. Security fix to the HTML prefilter.
jQuery. Version support and Download jQuery. https://jquery.com/support/ and https://jquery.com/download/. Supported branches; latest release 4.1.0.
jQuery. jQuery 3.5 Upgrade Guide. https://jquery.com/upgrade-guide/3.5/. Restoring the old prefilter removes the fix.
GitHub Advisory Database. GHSA-gxr4-xjj5-5px2 (CVE-2020-11022) and GHSA-jpcq-cgw6-v4j6 (CVE-2020-11023). https://github.com/advisories/GHSA-gxr4-xjj5-5px2 and https://github.com/advisories/GHSA-jpcq-cgw6-v4j6. Affected ranges and fixed version.
CISA. Known Exploited Vulnerabilities Catalog (JSON feed, catalog version 2026.12.04). https://www.cisa.gov/known-exploited-vulnerabilities-catalog. CVE-2020-11023 added 23 January 2025.
W3C. Subresource Integrity. Editor's Draft, 20 March 2026. https://w3c.github.io/webappsec-subresource-integrity/. Definition and CORS requirement.
MDN Web Docs. Subresource Integrity. https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity. Hash prefixes and crossorigin requirement.
OWASP. A03:2025 Software Supply Chain Failures. https://owasp.org/Top10/2025/A03_2025-Software_Supply_Chain_Failures/. Category scope and incidence rate.
PCI Security Standards Council. New Information Supplement: Payment Page Security and Preventing E-Skimming. 10 March 2025. https://blog.pcisecuritystandards.org/new-information-supplement-payment-page-security-and-preventing-e-skimming. Requirements 6.4.3 and 11.6.1.
AngularJS and Vue. Version support status and Vue 2 End of Life. https://docs.angularjs.org/misc/version-support-status and https://v2.vuejs.org/eol/. End-of-life dates.
WordPress. Version check API and script-loader.php, class-wp-scripts.php. https://api.wordpress.org/core/version-check/1.7/ and https://github.com/WordPress/wordpress-develop. Latest release 7.1.5; bundled jQuery 3.7.1 and the ver= rule.
HTTP Archive. Web Almanac 2025: Security, Third Parties and Methodology. https://almanac.httparchive.org/en/2025/security. Independent comparison figures.
Public Suffix List. https://publicsuffix.org/list/public_suffix_list.dat. Registrable domain rules.
Stingrai. Pricing. https://www.stingrai.io/pricing. Hybrid Pentest one-time and continuous prices, read 4 December 2026.
Talk to Stingrai
If a scanner lists dozens of outdated libraries and you want to know which ones an attacker could actually reach, tell us which application carries the risk. Get a Quote for pricing within 24 hours, or book a free discovery call to walk through scope first.


