WordPress v5.2.2 ships with a patched version of jQuery v1.12.4, with backports from 3.4.0; however, it is difficult to verify that the fixes have been applied.
Two flaws found for jQuery v1.12.4 via Snyk:
Commit: https://github.com/jquery/jquery/commit/753d591aea698e57d6db58c9f722cd0808619b1b
Commit: https://github.com/jquery/jquery/commit/f60729f3903d17917dc351f3ac87794de379b0cc?diff=unified
Download WordPress 5.2.2 and decompress,
URL: file:///wordpress-5.2.2/wordpress/wp-includes/js/jquery/jquery.js
1db21d816296e6939ba1f42962496e4134ae2b0081e26970864c40c6d02bb1df *wordpress-5.2.2/wordpress/wp-includes/js/jquery/jquery.js
/*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license | WordPress 2019-05-16 */
Download jQuery 1.12.4,
URL: https://code.jquery.com/jquery-1.12.4.min.js
668b046d12db350ccba6728890476b3efee53b2f42dbb84743e5e9f1ae0cc404 *jquery-1.12.4.min.js
/*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license */
Resources: