How to work webhint inside the browser's development console?
Install the extension and then open Ctrl+Shift+I now. After that click hint at the top far right in the developer's console.
Hint will go over the page opened and inform you with tips (hints/issues).
Example for: htxps://ai-techpark.com/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp
CSS features with 2 warnings: 'outline-offset' is not supported by Internet Explorer.
'content-type' header charset value should be 'utf-8'.
'content-type' header media type value should be 'text/javascript', not 'application/x-javascript'.
HTML: Resource should use cache busting but URL does not match configured patterns.
JS: JavaScript content should be minified. Security header issues.
But there is more with the general site as scanned for by hackertarget wp scan:
Scanned
https://hackertarget.com/wordpress-security-scan/ we will get 6 issues.
Outdated kernel software - outdated Word Press version, outdated plug-ins.
Not being disabled: User Enumeration
The first two user ID's were tested to determine if user enumeration is possible.
Username Name
ID: 1 techpark
ID: 2 businesswire
It is recommended to rename the admin user account to reduce the chance of brute force attacks occurring. As this will reduce the chance of automated password attackers gaining access. Take note that if the author archives are enabled it is usually possible to enumerate all users within a WordPress installation.
And also here: Directory Indexing
In the test an attempt was made to list the directory contents of the uploads and plugins folders to determine if Directory Indexing is enabled. This is a common information leakage vulnerability that can reveal sensitive information regarding your site configuration or content.
Path Tested Status
/wp-content/uploads/ enabled
/wp-content/plugins/ disabled
Directory indexing is tested on the /wp-content/uploads/ and /wp-content/plugins/ directores. Note that other directories may have this web server feature enabled, so ensure you check other folders in your installation. It is good practice to ensure directory indexing is disabled for your full WordPress installation either through the web server configuration or .htaccess.
Linked sites and js resources all checked. But you can lint them using webhint one by one.
Retire.js (also a browser extension) finds:
jquery 1.12.4 Found in -https://ai-techpark.com/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp _____Vulnerability info:
Medium 2432 3rd party CORS request may execute CVE-2015-9251 1234
Medium CVE-2015-9251 11974 parseHTML() executes scripts in event handlers 123
Medium CVE-2019-11358 jQuery before 3.4.0, as used in Drupal, Backdrop CMS, and other products, mishandles jQuery.extend(true, {}, ...) because of Object.prototype pollution 123
Medium CVE-2020-11022 Regex in its jQuery.htmlPrefilter sometimes may introduce XSS 1
Medium CVE-2020-11023 Regex in its jQuery.htmlPrefilter sometimes may introduce XSS 1
jquery-migrate 1.4.1 Found in -https://ai-techpark.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1
Enjoy my good friends, enjoy - developer console a real trove of security information opens up gradually
pol