{"id":21375,"date":"2019-04-16T17:23:02","date_gmt":"2019-04-16T15:23:02","guid":{"rendered":"https:\/\/belvg.com\/blog\/?p=21375"},"modified":"2021-02-18T09:23:53","modified_gmt":"2021-02-18T07:23:53","slug":"how-to-install-magento-2-security-patches","status":"publish","type":"post","link":"https:\/\/belvg.com\/blog\/how-to-install-magento-2-security-patches.html","title":{"rendered":"How to Install Magento 2 Security Patches"},"content":{"rendered":"\n<p>Magento&rsquo;s most empowering feature is its open source architecture. It allows developers to freely configure the platform and create complex custom solutions for ecommerce. Yet, open architecture has an unfortunate security vulnerability, which makes the platform subject to hacker attacks. Another reason why Magento is so prone to security attacks lies in its popularity. For today, more than 250,000 online stores around the world are powered by Magento.<\/p>\n<p><!--more--><\/p>\n<p><strong>Table of contents:<\/strong><\/p>\n<p><a href=\"#step_1\">Why do you need Magento 2 security patches?<br>\n<\/a><a href=\"#step_2\">List of Magento 2 security patches<br>\n<\/a><a href=\"#step_3\">How to install Magento security patches<br>\n<\/a><a href=\"#step_4\">How to check Magento store security<\/a><\/p>\n<h2 id=\"step_1\">Why do you need Magento 2 security patches?<\/h2>\n<p>In the first Magento versions, the development policy was more focused on improving the platform and adding new features. This meant that security issues were mostly disregarded, and to get rid of a certain security vulnerability, a store owner would have to simply update their Magento to the latest version.<\/p>\n<p>In 2015, the Magento team decided to address the security with more attention, and since then Magento security patches have been released regularly. Even though this decision did not entirely resolve the general issue of security, it massively improved the security condition and prevented a number of hacker attacks.<\/p>\n<p>So, what are security patches in Magento 2? A security patch is a change of code that fixes a certain vulnerability. The fixes are supplied in the form of a self-installing patch script, which locates the place where the code fix belongs to, automatically applies the update to it and saves the result. Keep in mind that security patches rely on core code files for proper installation, which means that if you alter core code, there is a chance the patches will fail to install.<\/p>\n<p>But are the outcomes of ignoring security patches that severe? Here are the 4 most common consequences of a Magento store being hacked :<\/p>\n<ol>\n<li><strong>Credit card information of the customers can get stolen.<\/strong> In fact, certain Magento integrations and extensions, especially payment ones, are from time to time discovered to be attacked and abused by fraudulent hacker groups. The recent case concerned PayPal integration Payflow Pro, it was hacked and utilized for stealing debit and credit card numbers.<\/li>\n<li><strong>Ransomware can get installed into your webstore.<\/strong> Ransomware is the type of malicious software that encrypts your code and denies you access to it until you pay for its release.<\/li>\n<li><strong>Webstore server can get compromised by hackers.<\/strong> It means that it can be used for illicit activities, in particular, for sending spam emails.<\/li>\n<li><strong>Malware can get installed into your shop, further spreading and affecting your visitors.<\/strong> As a result, your website gets blocked by search engines until the security is restored, which results in profit loss and certain reputation damage. In severe cases, you will end up losing critical customer data.<\/li>\n<\/ol>\n<p>With all that in mind, let us move to the latest Magento 2 security patches and their description.<\/p>\n<div class=\"content_sales_info\" style=\"background-image: url(https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/03\/Sales_background.png\"><img width=\"65\" height=\"65\" src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2015\/11\/Andrey_Dubina.png\" alt=\"Andrey_Dubina\" title=\"How to Install Magento 2 Security Patches\"><div class=\"content_part\"><h3 class=\"title\">Partner With Us <\/h3><span class=\"sales_content_text\">Let's discuss how to grow your business. Get a Free Quote.<\/span><\/div> <a class=\"call-to-action\" href=\"https:\/\/belvg.com\/contact?utm_source=blog&amp;utm_campaign=sales_block&amp;utm_content=middle\" target=\"_blank\" rel=\"noopener\">Talk to Andrey<\/a><\/div>\n<h2 id=\"step_2\">List of Magento 2 security patches<\/h2>\n<p>This is the list of the most critical Magento security patches released over the last year:<\/p>\n<table>\n<tbody>\n<tr>\n<td><strong>Patch Title<\/strong><\/td>\n<td><strong>Description<\/strong><\/td>\n<td><strong>Versions fixed in<\/strong><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1281: Remote Code Execution if the configuration setting allowing symlinks is enabled<\/span><\/td>\n<td><span style=\"font-weight: 400;\">AllowSymlinks option from the configuration settings allowed to upload an image containing malicious code.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">CE 1.9.3.3, EE 1.14.3.3<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1777: Remote Code Execution in DataFlow<\/span><\/td>\n<td><span style=\"font-weight: 400;\">DataFlow functionality utilized for uploading and executing arbitrary code.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">CE 1.9.3.3, EE 1.14.3.3<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1686: Remote Code Execution in the Admin panel<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Access to store CMS allowed to remotely execute code.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">CE 1.9.3.3, EE 1.14.3.3, Magento 2.0.14 and Magento 2.1.7<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1320: SQL injection in Visual Merchandiser (Enterprise Edition)<\/span><\/td>\n<td><span style=\"font-weight: 400;\">SQL injection vulnerability in the Visual Merchandiser enabled a user with admin status to edit the database<\/span><\/td>\n<td><span style=\"font-weight: 400;\">EE 1.14.3.3<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1634: XSS in data fields<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Inability to filter data in certain admin tables allowed for cross-site scripting attacks.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">CE 1.9.3.3, EE 1.14.3.3<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1759: XSS in Admin panel configuration<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A person with the admin role can enter a malicious code that affects other admin panel pages. <\/span><\/td>\n<td><span style=\"font-weight: 400;\">CE 1.9.3.3, EE 1.14.3.3<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1549: CSRF after logout &ndash; form key not invalidated<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Form key failed to invalidate on logout, allowing one to execute malicious commands after the admin logs out.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">CE 1.9.3.3, EE 1.14.3.3<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1626: RCE in video upload<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Video upload functionality allowed to upload malicious PHP files.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">CE and EE 2.0.14\/2.1.7<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1746: Zend Mail vulnerability &ndash; continued<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Zend Mail vulnerability was fixed in 2.0.12\/2.1.4 version, but was discovered to used to avoiding the implemented protection.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">CE and EE 2.0.14\/2.1.7<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1559: Possible remote code execution in email reminders<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Email reminder functionality enabled objects instantiation.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">CE and EE 2.0.14\/2.1.7<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1752: Stored XSS in admin panel<\/span><\/td>\n<td><span style=\"font-weight: 400;\">User data logged into admin panel was not escaped properly, allowing lower level admins attack other administrators.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">CE and EE 2.0.14\/2.1.7<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1699: API tokens not invalidated after disabling admin user<\/span><\/td>\n<td><span style=\"font-weight: 400;\">API tokens were not invalidated after the admin user disabling, allowing for attacks or unauthorized actions.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">CE and EE 2.0.14\/2.1.7<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1632: Password shown in action log (EE only)<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Under certain conditions, the administrator password was shown in plain text in the action log.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">EE 2.0.14\/2.1.7<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1663: Mass actions do not follow ACL<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Low-level admins were able to perform unauthorized actions.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">CE and EE 2.0.14\/2.1.7<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1661: UI controllers do not follow ACL<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Low-level admins were able to extract the data they were not authorized to access. <\/span><\/td>\n<td><span style=\"font-weight: 400;\">CE and EE 2.0.14\/2.1.7<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1679: APIs vulnerable to CSRF<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Some customer authenticated APIs were vulnerable to CSRF and phishing attacks. <\/span><\/td>\n<td><span style=\"font-weight: 400;\">CE and EE 2.0.14\/2.1.7<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1610: Custom admin path disclosure<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Payments module disclosed custom admin path location, allowing for password guessing or other hacks. <\/span><\/td>\n<td><span style=\"font-weight: 400;\">CE and EE 2.0.14\/2.1.7<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1666: Information leak<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Requests returned by AJAX calls contained exposing configuration info.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">CE and EE 2.0.14\/2.1.7<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1800: Remote Code Execution vulnerability in CMS and layouts<\/span><\/td>\n<td><span style=\"font-weight: 400;\">While creating a new CMS page, a low-level admin could introduce malicious code.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.6, Magento Commerce 1.14.3.6, Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1887: Arbitrary File Disclose<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Theme creation vulnerability, allowing to disclose or delete Magento installation system files.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1850: Arbitrary File Delete<\/span><\/td>\n<td><span style=\"font-weight: 400;\">The File Delete module could be used to upload and delete arbitrary files.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1851: Arbitrary file delete + Lack of input sanitization leading to Remote Code Execution<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Low-level Magento admin could make use of functional test vulnerability and get full remote code execution.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1567: Order history disclosure<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Generic order info enabled hackers to obtain full order information.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1769: Overwrite a Relative Path in Sitemap<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Sitemap generation tool could be utilized for sensitive files overwrite.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1713: Setup pages expose sensitive data<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Sensitive URL info leak, including controller location. <\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1852: CSRF + Stored Cross Site Scripting (customer group)<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A customer group vulnerability used to create a URL for CSRF attack.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.6, Magento Commerce 1.14.3.6, Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1482: Security Issue with referrer<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A URL can be added to Magento site, redirecting users to malicious websites.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1502: Stored XSS &ndash; Add new group in Attribute set name<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Malicious code could be injected into custom product attributes.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1494: AdminNotification Stored XSS<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Network Man-in-the-middle attack could inject code on the Magento Admin RSS feed.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.6, Magento Commerce 1.14.3.6, Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1793: Potential file uploads solely protected by .htaccess<\/span><\/td>\n<td><span style=\"font-weight: 400;\">The non-Apache installation contained executable scripting uploads that can be used for malicious purposes.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.6, Magento Commerce 1.14.3.6, Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1819: Customer login authenticates two different sessions<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Incorrect setup of an expired user session, which can be used by a hacker for access. <\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1802: Customer registration through frontend does not have anti-CSRF protection<\/span><\/td>\n<td><span style=\"font-weight: 400;\">CSRF protection to the customer registration process, preventing from taking over accounts.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1493: CMS Page Title Stored XSS<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Executable scripts can be injected into non-executable areas, such as page title.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1755: Anti-CSRF form_key is not changed after login<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Anti-CSRF tokens did not change properly after the user logged in.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1853: CSRF + Stored Cross Site Scripting in newsletter template<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Vulnerability in newsletter templates allowed for URL creation that can be further exploited for a CSRF attack.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.6, Magento Commerce 1.14.3.6, Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1729: XSS in admin order view using order status label in Magento<\/span><\/td>\n<td><span style=\"font-weight: 400;\">The code can be injected into sales order records, resulting in an XSS attack.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.6, Magento Commerce 1.14.3.6, Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1775: Stored Cross-Site Scripting in email template bypass<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Malicious code can be inserted into email templates.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1591: Stored XSS on product thumbnail<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Products containing malicious code in the thumbnail can be added by Magento admin.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1896: Possible XSS in admin order view using order code label<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Malicious code can be injected in the Order view.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1673: Stored xss using svg images in Favicon<\/span><\/td>\n<td><span style=\"font-weight: 400;\">SVG product images could contain malicious code.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1773: Injection on Page leading to DoS<\/span><\/td>\n<td><span style=\"font-weight: 400;\">While new page creation, the page counter can be modified, resulting in an integer overflow.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1577: Stored XSS in integration activation<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Malicious code could be injected in the integration activation.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1510: Any admin user can upload Favicon Icon<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Low-level admin could alter a favicon image for the entire website.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1545: Stored XSS through customer group name in admin panel<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Customer fields can be injected with scriptable code, resulting in an XSS attack.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1535: Access Control Lists not validated when using quick edit mode in tables<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Access Control Lists were not properly checked.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1588: Order Item Custom Option Disclosure<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Information about past orders can be retrieved during checkout. <\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.6, Magento Commerce 1.14.3.6, Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1701: API token does not correctly expire<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Due to incorrect expiration of customer and admin tokens, cookies can be reused for criminal purposes.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1630: Anonymous users can view upgrade progress updates<\/span><\/td>\n<td><span style=\"font-weight: 400;\">An anonymous user could check Magento upgrade status by visiting an internal URL.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1628: Full Path Disclosure Web Root Directory<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento installation system path was disclosed.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1599: Admin login does not handle autocomplete feature correctly<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Incorrect autocomplete in the admin panel that could result in information leak.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.6, Magento Commerce 1.14.3.6, Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1709: Customer email enumeration through frontend login<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Contact emails were leaked by the account lockout mechanism.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1495: Any user can interact with the sales order function despite not being authorized<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A logged-in user could modify order fields. <\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.6, Magento Commerce 1.14.3.6, Magento 2.0.16, Magento 2.1.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-2001: Authenticated Remote Code Execution (RCE) using custom layout XML<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Custom layout XML can be used to copy any file. <\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.9, Magento Commerce 1.14.3.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-2015: Authenticated Remote Code Execution (RCE) through the Create New Order feature (Commerce only)<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Gift card functionality can be used to inject a malicious string<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.9, Magento Commerce 1.14.3.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-2042: PHP Object Injection and RCE in the Magento admin panel (Commerce Target Rule module)<\/span><\/td>\n<td><span style=\"font-weight: 400;\">An administrator could create rule-based product relations that can trigger remote code execution. <\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.9, Magento Commerce 1.14.3.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-2029: PHP Object Injection and Remote Code Execution (RCE) in the Admin panel (Commerce)<\/span><\/td>\n<td><span style=\"font-weight: 400;\">With access to Commerce Target rule module, an administrator could create rule-based product relations that can trigger remote code execution.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.9, Magento Commerce 1.14.3.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-2007: Authenticated SQL Injection when saving a category<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Through request data manipulation, a malicious string can be inserted into the database, triggering the SQL injection.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.9, Magento Commerce 1.14.3.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-2027: CSRF is possible against Web sites, Stores, and Store Views<\/span><\/td>\n<td><span style=\"font-weight: 400;\">CSRF vulnerabilities allow to delete websites, stores or store views.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.9, Magento Commerce 1.14.3.9, Magento 2.1.14, Magento 2.2.5<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1882: The cron.php file can leak database credentials<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Database credentials could be leaked if it was not possible to establish connection to the database.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.9, Magento Commerce 1.14.3.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-2014: Authenticated Remote Code Execution (RCE) through the Magento admin panel (swatches module)<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Remote control over code execution could be achieved via swatches module vulnerability.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.1.14<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-2054: Remote Code Execution (RCE) via product import<\/span><\/td>\n<td><span style=\"font-weight: 400;\">A person with admin rights could add malicious code to the server.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.1.14, Magento 2.2.5<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-2042: PHP Object Injection and RCE in the Magento 2 EE admin panel (Commerce Target Rule module)<\/span><\/td>\n<td><span style=\"font-weight: 400;\">PHP Object Injection and RCE in the Magento 2 EE admin panel (Commerce Target Rule module)<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.1.14, Magento Open Source 1.9.3.9, Magento Commerce 1.14.3.9<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-2055: PHP Object Injection and RCE in the Magento 2 Commerce admin panel (Schedule Import\/Export Configuration)<\/span><\/td>\n<td><span style=\"font-weight: 400;\">An admin who had access to import\/export logic could insert malicious data used for PHP object injection and Remote Code Execution.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.1.14<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-2048: SQL Injection through API<\/span><\/td>\n<td><span style=\"font-weight: 400;\">An API user could, via API endpoints, perform SQL Injection<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.1.14, Magento 2.2.5<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-2025: Arbitrary File Delete via Product Image<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Admin could send modified data to the WYSIWYG admin component and delete arbitrary files.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento 2.1.14, Magento 2.2.5<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1838: RSS session admin cookie can be used to gain Magento administrator privileges.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Access to Magento Admin Portal could be gained via low privilege RSS session cookie.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.6, Magento Commerce 1.14.3.6<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1835: Exposure of Magento secret key from app\/etc\/local.xml<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Admin could create content that would expose sensitive Magento installation information.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.6, Magento Commerce 1.14.3.6<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">APPSEC-1861: PHP Object Injection in product entries leading to Remote Code Execution<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Malicious code could be injected into promo fields.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.7, Magento Commerce 1.14.3.7, Magento 2.0.17, Magento 2.1.10, Magento 2.2.1<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table style=\"width: 100%; height: 1712px;\">\n<tbody>\n<tr style=\"height: 120px;\">\n<td style=\"height: 120px;\"><span style=\"font-weight: 400;\">APPSEC-1830: PHP Object Injection in product attributes leading to Remote Code Execution<\/span><\/td>\n<td style=\"height: 120px;\"><span style=\"font-weight: 400;\">Injectable cookie could be inserted in the product attributes. <\/span><\/td>\n<td style=\"height: 120px;\"><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.7, Magento Commerce 1.14.3.7, Magento 2.0.17, Magento 2.1.10, Magento 2.2.1<\/span><\/td>\n<\/tr>\n<tr style=\"height: 96px;\">\n<td style=\"height: 96px;\"><span style=\"font-weight: 400;\">APPSEC-1893: PHP Object Injection in product metadata leading to Remote Code Execution<\/span><\/td>\n<td style=\"height: 96px;\"><span style=\"font-weight: 400;\">The injectable code could be inserted in the swatches feature.<\/span><\/td>\n<td style=\"height: 96px;\"><span style=\"font-weight: 400;\">Magento 2.0.17, Magento 2.1.10, Magento 2.2.1<\/span><\/td>\n<\/tr>\n<tr style=\"height: 72px;\">\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">APPSEC-1915: Remote Code Execution in CMS Page Area<\/span><\/td>\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">Admin could create a CMS page that would be parsed incorrectly, resulting in remote code execution.<\/span><\/td>\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.7, Magento Commerce 1.14.3.7<\/span><\/td>\n<\/tr>\n<tr style=\"height: 120px;\">\n<td style=\"height: 120px;\"><span style=\"font-weight: 400;\">APPSEC-1830: PHP Object Injection in product attributes leading to Remote Code Execution<\/span><\/td>\n<td style=\"height: 120px;\"><span style=\"font-weight: 400;\">One can create a widget block with malicious code.<\/span><\/td>\n<td style=\"height: 120px;\"><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.7, Magento Commerce 1.14.3.7, Magento 2.0.17, Magento 2.1.10, Magento 2.2.1<\/span><\/td>\n<\/tr>\n<tr style=\"height: 72px;\">\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">APPSEC-1932: Remote Code Execution Using XML Injection<\/span><\/td>\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">Injectable XML could be inserted into the layout table, giving an opportunity to remote code injection.<\/span><\/td>\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.8, Magento Commerce 1.14.3.8<\/span><\/td>\n<\/tr>\n<tr style=\"height: 72px;\">\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">APPSEC-1938: Remote Code Execution &ndash; additional fix not included in SUPEE-9652<\/span><\/td>\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">Information can be inserted into a return path leading to Remote Code Execution (RCE).<\/span><\/td>\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.8, Magento Commerce 1.14.3.8<\/span><\/td>\n<\/tr>\n<tr style=\"height: 96px;\">\n<td style=\"height: 96px;\"><span style=\"font-weight: 400;\">APPSEC-1964: Remote Code Execution by (semi-)arbitrary file deletion for admin users with access to Import<\/span><\/td>\n<td style=\"height: 96px;\"><span style=\"font-weight: 400;\">An XML file could be imported, giving an opportunity to Remote Code Execution (RCE).<\/span><\/td>\n<td style=\"height: 96px;\"><span style=\"font-weight: 400;\">Magento Open Source 1.9.3.8, Magento Commerce 1.14.3.8<\/span><\/td>\n<\/tr>\n<tr style=\"height: 72px;\">\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">APPSEC-1951: JavaScript execution in the administrator panel<\/span><\/td>\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">One could insert a script to the storefront field, leading to JavaScript code execution.<\/span><\/td>\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">Magento 2.0.18, Magento 2.1.12, Magento 2.2.3<\/span><\/td>\n<\/tr>\n<tr style=\"height: 72px;\">\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">APPSEC-1952: Remote Code Execution using media upload<\/span><\/td>\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">Using a path traversal vulnerability, one could remotely execute code during the media upload process.<\/span><\/td>\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">Magento 2.0.18, Magento 2.1.12, Magento 2.2.3<\/span><\/td>\n<\/tr>\n<tr style=\"height: 120px;\">\n<td style=\"height: 120px;\"><span style=\"font-weight: 400;\">PRODSECBUG-2122: PHP Object Injection (POI) and Remote Code Execution (RCE) in the Magento 2.1.15 Admin<\/span><\/td>\n<td style=\"height: 120px;\"><span style=\"font-weight: 400;\">With access to the Braintree payment method configuration, one can trigger code execution via PHP object injection.<\/span><\/td>\n<td style=\"height: 120px;\"><span style=\"font-weight: 400;\">Magento 2.1.16, Magento 2.2.7, Magento 2.3.0<\/span><\/td>\n<\/tr>\n<tr style=\"height: 96px;\">\n<td style=\"height: 96px;\"><span style=\"font-weight: 400;\">PRODSECBUG-2123: PHP Object Injection (POI) and Remote Code Execution (RCE) in the Admin<\/span><\/td>\n<td style=\"height: 96px;\"><span style=\"font-weight: 400;\">Via Varnish configuration settings and the design configuration, one can trigger code execution via PHP object injection.<\/span><\/td>\n<td style=\"height: 96px;\"><span style=\"font-weight: 400;\">Magento 2.1.16, Magento 2.2.7, Magento 2.3.0<\/span><\/td>\n<\/tr>\n<tr style=\"height: 72px;\">\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">PRODSECBUG-1589: Stops Brute Force Requests via basic RSS authentication<\/span><\/td>\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">The attacker was able to guess the admin password via brute force requests to the RSS nodes.<\/span><\/td>\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">Magento Open Source 1.9.4.0, Magento Commerce 1.14.4.0<\/span><\/td>\n<\/tr>\n<tr style=\"height: 120px;\">\n<td style=\"height: 120px;\"><span style=\"font-weight: 400;\">PRODSECBUG-2198: SQL Injection vulnerability through an unauthenticated user<\/span><\/td>\n<td style=\"height: 120px;\"><span style=\"font-weight: 400;\">Via an SQL injection vulnerability, one can execute arbitrary code, causing data leakage.<\/span><\/td>\n<td style=\"height: 120px;\"><span style=\"font-weight: 400;\">Magento Open Source 1.9.4.1, Magento Commerce 1.14.4.1,Magento 2.1.17, Magento 2.2.8, Magento 2.3.1<\/span><\/td>\n<\/tr>\n<tr style=\"height: 120px;\">\n<td style=\"height: 120px;\"><span style=\"font-weight: 400;\">PRODSECBUG-2261: Arbitrary code execution due to unsafe deserialization of a PHP archive<\/span><\/td>\n<td style=\"height: 120px;\"><span style=\"font-weight: 400;\">Malicious code can be injected via Phar deserialization vulnerability.<\/span><\/td>\n<td style=\"height: 120px;\"><span style=\"font-weight: 400;\">Magento Open Source 1.9.4.1, Magento Commerce 1.14.4.1,Magento 2.1.17, Magento 2.2.8, Magento 2.3.1<\/span><\/td>\n<\/tr>\n<tr style=\"height: 96px;\">\n<td style=\"height: 96px;\"><span style=\"font-weight: 400;\">PRODSECBUG-2253: Arbitrary code execution due to unsafe handling of a malicious layout update<\/span><\/td>\n<td style=\"height: 96px;\"><span style=\"font-weight: 400;\">An arbitrary PHP code could be executed by one with access to dataflow importer and catalog categories.<\/span><\/td>\n<td style=\"height: 96px;\"><span style=\"font-weight: 400;\">Magento Open Source 1.9.4.1, Magento Commerce 1.14.4.1<\/span><\/td>\n<\/tr>\n<tr style=\"height: 96px;\">\n<td style=\"height: 96px;\"><span style=\"font-weight: 400;\">PRODSECBUG-2192: Remote code execution though crafted newsletter and email templates<\/span><\/td>\n<td style=\"height: 96px;\"><span style=\"font-weight: 400;\">The arbitrary code could remotely be executed via crafted newsletter or email template code.<\/span><\/td>\n<td style=\"height: 96px;\"><span style=\"font-weight: 400;\">Magento 2.1.17, Magento 2.2.8, Magento 2.3.1<\/span><\/td>\n<\/tr>\n<tr style=\"height: 72px;\">\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">PRODSECBUG-2287: Remote code execution through email template<\/span><\/td>\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">Arbitrary code can be executed via email templates.<\/span><\/td>\n<td style=\"height: 72px;\"><span style=\"font-weight: 400;\">Magento 2.1.17, Magento 2.2.8, Magento 2.3.1<\/span><\/td>\n<\/tr>\n<tr style=\"height: 128px;\">\n<td style=\"height: 128px;\"><span style=\"font-weight: 400;\">PRODSECBUG-2236: SQL Injection and cross-site scripting vulnerability in Catalog section (XSS)<\/span><\/td>\n<td style=\"height: 128px;\"><span style=\"font-weight: 400;\">One can manipulate attribute_code in the Catalog section and embed malicious code through a stored cross-site scripting vulnerability or an SQL injection vulnerability<\/span><\/td>\n<td style=\"height: 128px;\"><span style=\"font-weight: 400;\">Magento 2.1.17, Magento 2.2.8, Magento 2.3.1<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 168px;\">\n<tbody>\n<tr style=\"height: 144px;\">\n<td style=\"width: 33.3333%; height: 144px;\">PRODSECBUG-2289:&nbsp;Arbitrary code&nbsp;<span>could be executed<\/span> in the admin logging configuration<\/td>\n<td style=\"height: 144px; width: 33.2011%;\">A user with admin privileges and access to the advanced admin logging configuration could trigger remote code execution.<\/td>\n<td style=\"width: 33.3333%; height: 144px;\">Magento Open Source 1.9.4.2, Magento Commerce 1.14.4.2<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px;\">PRODSECBUG-2262: Arbitrary code could be executed by importing malicious dataflow profiles<\/td>\n<td style=\"width: 33.2011%; height: 24px;\">A user with privileges to edit block permission, import dataflow functionality and modify CMS content could execute arbitrary code by importing malicious dataflow profiles.<\/td>\n<td style=\"width: 33.3333%; height: 24px;\">Magento Open Source 1.9.4.2, Magento Commerce 1.14.4.2<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 33.3333%;\">PRODSECBUG-2351: Arbitrary code could be executed via crafted sitemap creation<\/td>\n<td style=\"width: 33.2011%;\">A user with administrator privileges to create sitemaps could execute arbitrary code by crafted filenames that included php extension within the XML filename.<\/td>\n<td style=\"width: 33.3333%;\">Magento Open Source 1.9.4.2, Magento Commerce 1.14.4.2, Magento 2.1.18, Magento 2.2.9, Magento 2.3.2, SUPEE-11155<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>This is obviously an incomplete list; go to https:\/\/magento.com\/security you can find the full history of Magento security patches.<\/p>\n<div class=\"content_sales_info\" style=\"background-image: url(https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/03\/Sales_background.png\"><img width=\"65\" height=\"65\" src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2015\/11\/Andrey_Dubina.png\" alt=\"Andrey_Dubina\" title=\"How to Install Magento 2 Security Patches\"><div class=\"content_part\"><h3 class=\"title\">Partner With Us <\/h3><span class=\"sales_content_text\">Let's discuss how to grow your business. Get a Free Quote.<\/span><\/div> <a class=\"call-to-action\" href=\"https:\/\/belvg.com\/contact?utm_source=blog&amp;utm_campaign=sales_block&amp;utm_content=middle\" target=\"_blank\" rel=\"noopener\">Talk to Andrey<\/a><\/div>\n<p>Since Magento company realizes how critical it is to detect a security vulnerability before hackers do it and use it for illicit purposes, there are bounties assigned for detecting and submitting a Magento vulnerability. Find the rewards policy guidelines at https:\/\/hackerone.com\/magento.<\/p>\n<h2 id=\"step_3\">How to install Magento security patches<\/h2>\n<p>There are three ways to install Magento patches: via GitHub, manually and with a composer. Below you will find a comprehensive instruction of how to install Magento patches following these 3 techniques.<\/p>\n<h3>Method 1: how to install Magento patch using GitHub<\/h3>\n<p><strong>Step #1<\/strong>: create a directory for patches.<\/p>\n<p>Go to the work directory of the webstore and create a patches directory for storing Magento patches.<\/p>\n<p><strong>Step #2<\/strong>: copy Magento patches to the created directory.<\/p>\n<p>Use SSH, FTP-client and other suitable tools for this step.<\/p>\n<p><strong>Step #3<\/strong>: generate a patch file.<\/p>\n<p>Run the following command <strong>git diff &gt; .\/patches\/patchForModule.patch.<\/strong><\/p>\n<p>In our case, we make changes in <strong>registration.php<\/strong> file of our module. The changes will look the following way:<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/install-patch-with-github.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21376\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/install-patch-with-github.png\" alt=\"install patch with github\" width=\"1126\" height=\"266\" title=\"How to Install Magento 2 Security Patches\"><\/a><\/p>\n<h3>Method 2: how to install Magento patch manually<\/h3>\n<p>To install a Magento patch via Composer, use git <strong>apply<\/strong> or <strong>patch<\/strong> commands.<\/p>\n<p>Connect through SSH and run one of the following commands from the root of the website:<\/p>\n<p><strong>git apply patches\/patchForModule.patch<\/strong><br>\nor<br>\n<strong>patch -p1 &lt; patches\/patchForModule.patch<\/strong><\/p>\n<h3>Method 3: install Magento patch with Composer<\/h3>\n<p><strong>Step #1<\/strong>: add a new module via composer for patch application.<\/p>\n<p>For this, run the following command:<br>\n<strong>composer require cweagans\/composer-patches ~1.0<\/strong><\/p>\n<p>I will demonstrate this method using JS validation issue as an example&nbsp;<a href=\"https:\/\/github.com\/magento\/magento2\/issues\/21734\"><span style=\"font-weight: 400;\">https:\/\/github.com\/magento\/magento2\/issues\/21734<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400;\">We can fix the issue using commits.<\/span><\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/security-patch-via-composer.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21377\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/security-patch-via-composer.png\" alt=\"security patch via composer\" width=\"1091\" height=\"337\" title=\"How to Install Magento 2 Security Patches\"><\/a><\/p>\n<p><strong>Step #2<\/strong>: Create two new patch files in the patches directory:<\/p>\n<p><b>github-issue-21734-magento-ui.diff<br>\n<\/b><a href=\"https:\/\/github.com\/magento\/magento2\/commit\/6bb24ef4cccf52d56ee5c8ef43c9365509075d8a.diff\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">https:\/\/github.com\/magento\/magento2\/commit\/6bb24ef4cccf52d56ee5c8ef43c9365509075d8a.diff<\/span><\/a><\/p>\n<p><b>github-issue-21734-magento-catalog.diff<br>\n<\/b><a href=\"https:\/\/github.com\/magento\/magento2\/commit\/0add8b722cb1591a3a2b8fe74e20d492431f5b18.diff\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">https:\/\/github.com\/magento\/magento2\/commit\/0add8b722cb1591a3a2b8fe74e20d492431f5b18.diff<\/span><\/a><\/p>\n<p><strong>Step #3<\/strong>: Change the paths in the patches for a root directory of the module to perform the correct update.<\/p>\n<p>Before:<br>\n<strong>diff &ndash;git a\/app\/code\/Magento\/Ui\/view\/base\/web\/js\/lib\/validation\/rules.js b\/app\/code\/Magento\/Ui\/view\/base\/web\/js\/lib\/validation\/rules.js<\/strong><\/p>\n<p>After:<br>\n<strong>diff &ndash;git a\/view\/base\/web\/js\/lib\/validation\/rules.js b\/view\/base\/web\/js\/lib\/validation\/rules.js<\/strong><\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/security-patch-via-composer-.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21378\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/security-patch-via-composer-.png\" alt=\"security patch via composer\" width=\"944\" height=\"572\" title=\"How to Install Magento 2 Security Patches\"><\/a><\/p>\n<p>For <strong>github-issue-21734-magento-ui.diff<\/strong> we will get<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/install-security-patch-via-composer-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21379\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/install-security-patch-via-composer-1.png\" alt=\"install security patch via composer\" width=\"940\" height=\"418\" title=\"How to Install Magento 2 Security Patches\"><\/a><\/p>\n<p><strong>Step #4<\/strong>: Change the composer.json file.<\/p>\n<p>Add patches directive to the extra directive.<\/p>\n<pre class=\"lang:default decode:true \">\"extra\": {\r\n    \"magento-force\": \"override\",\r\n    \"patches\": {\r\n        \"magento\/module-ui\": {\r\n            \"Patch for issue 21734\": \"patches\/github-issue-21734-magento-ui.diff\"\r\n        },\r\n        \"magento\/module-catalog\": {\r\n            \"Patch for issue 21734\": \"patches\/github-issue-21734-magento-catalog.diff\"\r\n        }\r\n    }\r\n}\r\n<\/pre>\n<p><strong>Step #5<\/strong>: Apply patches and update composer.lock:<\/p>\n<p>Run the following commands:<\/p>\n<p><strong>composer -v install<\/strong><br>\n<strong>composer update &ndash;lock<\/strong><\/p>\n<h2 id=\"step_4\">How to check Magento store security<\/h2>\n<p>Apart from regularly updating Magento security patches, it is essential to keep a close look at your store security and be able to detect system vulnerability at the early stages. Magento store security check can be performed directly via the admin panel of the store; in addition to this, there are third-party tools &ndash; Mage Report and Mage Scan &ndash; they provide store security analysis without the need to log in to the admin panel.<\/p>\n<h3>Method 1: How to run a security scan from Magento admin panel<\/h3>\n<p>Magento Security Scan is a newly introduced tool that allows to monitor your store&rsquo;s security, detect unauthorized access and update malware patches.<\/p>\n<p><strong>Step #1<\/strong>: Sign in to Magento account.<\/p>\n<p><strong>Step #2<\/strong>: Choose <strong>Security Scan<\/strong> in the panel on the left and press <strong>Go to Security Scan<\/strong> button. Tap <strong>Agree<\/strong> to continue.<\/p>\n<p><strong>Step #3<\/strong>: Click <strong>Add Site<\/strong> at the Monitored Websites field or <strong>+ Add Site<\/strong> button.<\/p>\n<p><strong>Step #4<\/strong>: Verify your webstore domain ownership by entering <strong>Site URL<\/strong> and <strong>Site Name<\/strong> at the corresponding field and tap <strong>Generate Confirmation Code<\/strong>. Copy the code to the clipboard.<\/p>\n<p><strong>Step #5<\/strong>: Log in to the store admin panel. Navigate to <strong>Content<\/strong> tab -&gt; <strong>Design<\/strong> -&gt; <strong>Configuration<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/content-design-conffiguration.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21380\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/content-design-conffiguration.png\" alt=\"content design conffiguration\" width=\"335\" height=\"650\" title=\"How to Install Magento 2 Security Patches\"><\/a><\/p>\n<p><strong>Step #6<\/strong>: Expand the <strong>HTML Head<\/strong> section and paste the copied confirmation code to the <strong>Scripts and Style Sheets<\/strong> field.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/expand-the-html-head-section.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21381\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/expand-the-html-head-section.png\" alt=\"expand the html head section\" width=\"1795\" height=\"735\" title=\"How to Install Magento 2 Security Patches\"><\/a><\/p>\n<p><strong>Step #7<\/strong>: Get back to <strong>Security Scan<\/strong> and press <strong>Verify Confirmation Code<\/strong> button.<\/p>\n<p><strong>Step #8<\/strong>: Configure your security scan to be run either weekly or daily. Press <strong>Submit<\/strong>.<\/p>\n<h3>Method 2: How to run a security scan with Mage Report<\/h3>\n<p>We will run a Magento security scan on a <a href=\"https:\/\/belvg.com\/work\/blaha-gartenmoebel\" target=\"_blank\" rel=\"noopener\">Blaha Gartenm&ouml;bel<\/a> &ndash; home &amp; garden webstore BelVG worked with.<\/p>\n<p><strong>Step #1<\/strong>: Go to https:\/\/www.magereport.com\/<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/mage-report-main-page.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21382\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/mage-report-main-page.png\" alt=\"mage report main page\" width=\"1869\" height=\"740\" title=\"How to Install Magento 2 Security Patches\"><\/a><\/p>\n<p><strong>Step #2<\/strong>: Enter the address of the store you wish to check and press <strong>Go<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/blaha-scan.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21383\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/blaha-scan.png\" alt=\"blaha scan\" width=\"1877\" height=\"738\" title=\"How to Install Magento 2 Security Patches\"><\/a><\/p>\n<p><strong>Step #3<\/strong>: Analyze the report you got. It consists of the list of patched vulnerabilities (in green boxes) and patches with unknown status (in grey boxes). You can learn more about each security patch; in some cases, there is <em>How do I verify that I am protected?<\/em> link.<\/p>\n<h3><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/magereport-scan.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21384\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/magereport-scan.png\" alt=\"magereport scan\" width=\"818\" height=\"686\" title=\"How to Install Magento 2 Security Patches\"><\/a><br>\nMethod 3: How to run a security scan with Mage Scan<\/h3>\n<p>We will run a Magento security scan on a <a href=\"https:\/\/belvg.com\/work\/karmaloop\" target=\"_blank\" rel=\"noopener\">Karmaloop<\/a> &ndash; fashion and shoe webstore BelVG worked with.<\/p>\n<p><strong>Step #1<\/strong>: Go to https:\/\/magescan.com\/.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/mage-scan-step-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21385\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/mage-scan-step-1.png\" alt=\"mage scan step 1\" width=\"1224\" height=\"946\" title=\"How to Install Magento 2 Security Patches\"><\/a><\/p>\n<p><strong>Step #2<\/strong>: Enter the address of the store you wish to check and press <strong>Scan<\/strong>.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/karmaloop-magescan.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21386\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/karmaloop-magescan.png\" alt=\"karmaloop magescan\" width=\"1202\" height=\"855\" title=\"How to Install Magento 2 Security Patches\"><\/a><\/p>\n<p><strong>Step #3<\/strong>: Analyze the report you got. It consists of the following fields: Magento version, hosting provider, admin panel, logs, version control, development files, configuration fields, PHP version and web server. If there are no vulnerabilities, each box will contain the &ldquo;<strong>No exposed configuration files were found<\/strong>&rdquo; message.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/karmaloop-magescan-report.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-21387\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/karmaloop-magescan-report.png\" alt=\"karmaloop magescan report\" width=\"1882\" height=\"822\" title=\"How to Install Magento 2 Security Patches\"><\/a><\/p>\n<h2>Wrapping it up<\/h2>\n<p>I hope that from my article you realized the importance of Magento security patches and learned how to install and update them.<\/p>\n<p>If you are not technically adept enough to work with Magento security patches yourself and you need specialized <a href=\"https:\/\/belvg.com\/magento-support\" target=\"_blank\" rel=\"noopener\">support<\/a>, turn to BelVG team for <a href=\"https:\/\/store.belvg.com\/supee-7405-patch-installation.html\" target=\"_blank\" rel=\"noopener\">professional patch installation<\/a>.<\/p>\n\n","protected":false},"excerpt":{"rendered":"Magento&#8217;s most empowering feature is its open source architecture. It allows developers to freely configure &#8230;","protected":false},"author":102,"featured_media":21388,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,491,471,524],"tags":[],"class_list":["post-21375","post","type-post","status-publish","format-image","has-post-thumbnail","hentry","category-magento","category-magento-2","category-magento-developer","category-magento-speed-optimization","post_format-post-format-image"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"Learn how to install Magento security 2 patches. Discover step-by-step Magento 2 security patch installation guide provided by certified Magento developers.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Darya Monastyrskaya\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/belvg.com\/blog\/how-to-install-magento-2-security-patches.html\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-install-magento-2-security-patches.html#article\",\"name\":\"How to Install Magento 2 Security Patches | BelVG Blog\",\"headline\":\"How to Install Magento 2 Security Patches\",\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/dasha-m#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/3.png\",\"width\":1110,\"height\":591,\"caption\":\"How to Install Magento 2 Security Patches\"},\"datePublished\":\"2019-04-16T17:23:02+02:00\",\"dateModified\":\"2021-02-18T09:23:53+02:00\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-install-magento-2-security-patches.html#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-install-magento-2-security-patches.html#webpage\"},\"articleSection\":\"Magento, Magento 2, Magento Developer, Magento Speed Optimization, Image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-install-magento-2-security-patches.html#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento#listItem\",\"name\":\"Magento\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento#listItem\",\"position\":2,\"name\":\"Magento\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-install-magento-2-security-patches.html#listItem\",\"name\":\"How to Install Magento 2 Security Patches\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-install-magento-2-security-patches.html#listItem\",\"position\":3,\"name\":\"How to Install Magento 2 Security Patches\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento#listItem\",\"name\":\"Magento\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\",\"name\":\"BelVG Blog\",\"description\":\"Magento and Prestashop articles\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/dasha-m#author\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/dasha-m\",\"name\":\"Darya Monastyrskaya\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-install-magento-2-security-patches.html#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/28b29b718ed4c89fdf9f3f024e76e42b5611c29dee49d6303faa7ce8354a8fc5?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Darya Monastyrskaya\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-install-magento-2-security-patches.html#webpage\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-install-magento-2-security-patches.html\",\"name\":\"How to Install Magento 2 Security Patches | BelVG Blog\",\"description\":\"Learn how to install Magento security 2 patches. Discover step-by-step Magento 2 security patch installation guide provided by certified Magento developers.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-install-magento-2-security-patches.html#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/dasha-m#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/dasha-m#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/3.png\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-install-magento-2-security-patches.html\\\/#mainImage\",\"width\":1110,\"height\":591,\"caption\":\"How to Install Magento 2 Security Patches\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-install-magento-2-security-patches.html#mainImage\"},\"datePublished\":\"2019-04-16T17:23:02+02:00\",\"dateModified\":\"2021-02-18T09:23:53+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\",\"name\":\"BelVG Blog\",\"description\":\"Magento and Prestashop articles\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to Install Magento 2 Security Patches | BelVG Blog","description":"Learn how to install Magento security 2 patches. Discover step-by-step Magento 2 security patch installation guide provided by certified Magento developers.","canonical_url":"https:\/\/belvg.com\/blog\/how-to-install-magento-2-security-patches.html","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/belvg.com\/blog\/how-to-install-magento-2-security-patches.html#article","name":"How to Install Magento 2 Security Patches | BelVG Blog","headline":"How to Install Magento 2 Security Patches","author":{"@id":"https:\/\/belvg.com\/blog\/author\/dasha-m#author"},"publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/3.png","width":1110,"height":591,"caption":"How to Install Magento 2 Security Patches"},"datePublished":"2019-04-16T17:23:02+02:00","dateModified":"2021-02-18T09:23:53+02:00","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/belvg.com\/blog\/how-to-install-magento-2-security-patches.html#webpage"},"isPartOf":{"@id":"https:\/\/belvg.com\/blog\/how-to-install-magento-2-security-patches.html#webpage"},"articleSection":"Magento, Magento 2, Magento Developer, Magento Speed Optimization, Image"},{"@type":"BreadcrumbList","@id":"https:\/\/belvg.com\/blog\/how-to-install-magento-2-security-patches.html#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/belvg.com\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento#listItem","name":"Magento"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento#listItem","position":2,"name":"Magento","item":"https:\/\/belvg.com\/blog\/category\/magento","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/how-to-install-magento-2-security-patches.html#listItem","name":"How to Install Magento 2 Security Patches"},"previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/how-to-install-magento-2-security-patches.html#listItem","position":3,"name":"How to Install Magento 2 Security Patches","previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento#listItem","name":"Magento"}}]},{"@type":"Organization","@id":"https:\/\/belvg.com\/blog\/#organization","name":"BelVG Blog","description":"Magento and Prestashop articles","url":"https:\/\/belvg.com\/blog\/"},{"@type":"Person","@id":"https:\/\/belvg.com\/blog\/author\/dasha-m#author","url":"https:\/\/belvg.com\/blog\/author\/dasha-m","name":"Darya Monastyrskaya","image":{"@type":"ImageObject","@id":"https:\/\/belvg.com\/blog\/how-to-install-magento-2-security-patches.html#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/28b29b718ed4c89fdf9f3f024e76e42b5611c29dee49d6303faa7ce8354a8fc5?s=96&d=mm&r=g","width":96,"height":96,"caption":"Darya Monastyrskaya"}},{"@type":"WebPage","@id":"https:\/\/belvg.com\/blog\/how-to-install-magento-2-security-patches.html#webpage","url":"https:\/\/belvg.com\/blog\/how-to-install-magento-2-security-patches.html","name":"How to Install Magento 2 Security Patches | BelVG Blog","description":"Learn how to install Magento security 2 patches. Discover step-by-step Magento 2 security patch installation guide provided by certified Magento developers.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/belvg.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/belvg.com\/blog\/how-to-install-magento-2-security-patches.html#breadcrumblist"},"author":{"@id":"https:\/\/belvg.com\/blog\/author\/dasha-m#author"},"creator":{"@id":"https:\/\/belvg.com\/blog\/author\/dasha-m#author"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/04\/3.png","@id":"https:\/\/belvg.com\/blog\/how-to-install-magento-2-security-patches.html\/#mainImage","width":1110,"height":591,"caption":"How to Install Magento 2 Security Patches"},"primaryImageOfPage":{"@id":"https:\/\/belvg.com\/blog\/how-to-install-magento-2-security-patches.html#mainImage"},"datePublished":"2019-04-16T17:23:02+02:00","dateModified":"2021-02-18T09:23:53+02:00"},{"@type":"WebSite","@id":"https:\/\/belvg.com\/blog\/#website","url":"https:\/\/belvg.com\/blog\/","name":"BelVG Blog","description":"Magento and Prestashop articles","inLanguage":"en-US","publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"}}]}},"aioseo_meta_data":{"post_id":"21375","title":"How to Install Magento 2 Security Patches | #site_title","description":"Learn how to install Magento security 2 patches. Discover step-by-step Magento 2 security patch installation guide provided by certified Magento developers.","keywords":null,"keyphrases":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-11-03 18:36:49","updated":"2026-11-03 18:36:49"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/category\/magento\" title=\"Magento\">Magento<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to Install Magento 2 Security Patches\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/belvg.com\/blog\/"},{"label":"Magento","link":"https:\/\/belvg.com\/blog\/category\/magento"},{"label":"How to Install Magento 2 Security Patches","link":"https:\/\/belvg.com\/blog\/how-to-install-magento-2-security-patches.html"}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/21375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/users\/102"}],"replies":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/comments?post=21375"}],"version-history":[{"count":1,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/21375\/revisions"}],"predecessor-version":[{"id":25864,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/21375\/revisions\/25864"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media\/21388"}],"wp:attachment":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media?parent=21375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/categories?post=21375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/tags?post=21375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}