After installing SUPEE-9767 patch Magento security report show the following Failed scan:
SUPEE-9767 Failed. Outdated jQuery library found (APPSEC-1622) response body contains unexpected ‘jquery 1.10.2.min.js’
Cause
There is a theme override in your app/design/frontend/themepackage/themevarian/layout/page.xml.Solution
Edit the theme layout replacingjquery-1.10.2.min.js
with jquery-1.12.1.min.js
, just like in default rwd theme:--- app/design/frontend/rwd/default/layout/page.xml +++ app/design/frontend/rwd/default/layout/page.xml @@ -36,7 +36,7 @@ <block type="page/html_head" name="head" as="head"> <action method="addJs"><script>prototype/prototype.js</script></action> - <action method="addJs"><script>lib/jquery/jquery-1.10.2.min.js</script></action> + <action method="addJs"><script>lib/jquery/jquery-1.12.1.min.js</script></action> <action method="addJs"><script>lib/jquery/noconflict.js</script></action> <action method="addJs"><script>lib/ccard.js</script></action> <action method="addJs"><script>prototype/validation.js</script></action>
If you have any difficulties with solving this problem or got a similar one, please let us know in comments below, so we can find the solution together.
Posted in: Magento Maintenance