{"id":2677,"date":"2021-11-18T17:05:29","date_gmt":"2021-11-18T17:05:29","guid":{"rendered":"https:\/\/ccbill.com\/kb\/?p=2677"},"modified":"2023-03-07T11:49:48","modified_gmt":"2023-03-07T11:49:48","slug":"install-magento-security-patches","status":"publish","type":"post","link":"https:\/\/ccbill.com\/kb\/install-magento-security-patches","title":{"rendered":"How to Install Security Patches in Magento"},"content":{"rendered":"<p class=\"h3\">Introduction<\/p>\n\n\n<p>Once a software security flaw becomes public knowledge, a potential attacker can exploit the vulnerability within hours.<\/p>\n\n\n\n<p>Online stores need to work tirelessly to <a href=\"https:\/\/ccbill.com\/kb\/protecting-your-customers-information\" target=\"_blank\" rel=\"noreferrer noopener\">protect customer information<\/a> and keep <a href=\"https:\/\/ccbill.com\/kb\/ecommerce-security\" target=\"_blank\" rel=\"noreferrer noopener\">ecommerce security threats<\/a> at bay. Magento releases official security patches regularly to help merchants eliminate known software vulnerabilities.<\/p>\n\n\n\n<p><strong>Find out how to install security patches in Magento 2<\/strong> and protect your store and customers without delay.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"400\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/install-security-patches-magento.png\" alt=\"Installing a new Magento security patch.\" class=\"wp-image-2678\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/install-security-patches-magento.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/install-security-patches-magento-300x150.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/install-security-patches-magento-768x384.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Prepare Magento Environment for the Security Update<\/h2>\n\n\n\n<p>Before installing a security update in Magento 2:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Review Release Notes<\/strong> - Visit the <a rel=\"noreferrer noopener\" href=\"https:\/\/magento.com\/security\/patches\" target=\"_blank\">Magento Security Center<\/a> and read the official patch release notes. Determine how the new security features affect your Magento installation. Also, check if the patch is backward-compatible or has known issues with third-party modules.<\/li>\n\n\n\n<li><strong>Create Store Backup <\/strong>- Technical problems during the installation can lead to excessive downtime and loss of valuable data. <a rel=\"noreferrer noopener\" href=\"https:\/\/ccbill.com\/kb\/magento-backup-and-restore\" target=\"_blank\">Back up your Magento 2 store<\/a> and restore it to a previously saved state if necessary.<\/li>\n\n\n\n<li><strong>Enable Maintenance Mode<\/strong> - Set the store to <em>Maintenance Mode<\/em> to prevent bootstrapping during the patch installation process. While the store is in maintenance mode, customers are redirected to a default <em>Service Temporarily Unavailable<\/em> page.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How to Install Security Patches in Magento (Step-by-Step)<\/h2>\n\n\n\n<p>After downloading a patch file locally, you can apply the update using the command line interface or the Composer application.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Install Security Patch From Command Line<\/h3>\n\n\n\n<p>To install Magento security patches using the command line:<\/p>\n\n\n\n<p>1. Establish an <a href=\"https:\/\/phoenixnap.com\/kb\/ssh-to-connect-to-remote-server-linux-or-windows\">SSH<\/a> or FTP connection with the Magento server.<\/p>\n\n\n\n<p>2. Upload the security patch file to the Magento 2 installation directory. <\/p>\n\n\n\n<p>3. Use the command-line interface (CLI) to access the Magento root directory:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/var\/www\/html\/magento2.4<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"800\" height=\"50\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/access-magento-root-directory-command-line-1.png\" alt=\"Command to access the Magento root directory.\" class=\"wp-image-2696\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/access-magento-root-directory-command-line-1.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/access-magento-root-directory-command-line-1-300x19.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/access-magento-root-directory-command-line-1-768x48.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>Modify the path to reflect the directory path on your system. <\/p>\n\n\n\n<p>4. Utilize the <strong><code>patch<\/code><\/strong> command to apply the Magento security patch:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>patch &lt; patch_file_name.patch<\/code><\/pre>\n\n\n\n<p>Enter the name of the patch file used in your installation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"800\" height=\"36\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/patch-command-magento.png\" alt=\"Patch command for a Magento 2 security update.\" class=\"wp-image-2692\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/patch-command-magento.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/patch-command-magento-300x14.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/patch-command-magento-768x35.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>The patch file name in this example is <em>PRODSECBUG-2198-2.4-CE-2021-10-17-09-22-17.patch<\/em>. <\/p>\n\n\n\n<p>5. Once the update is complete, clean the Magento cache:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento cache:clean<\/code><\/pre>\n\n\n\n<p>Test store functionality and components extensively before disabling <em>Maintenance<\/em> mode.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Use Composer to Install Security Patch<\/h3>\n\n\n\n<p>Composer enables merchants to reduce PHP compatibility issues, track dependencies, and automate updates in Magento 2.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-vivid-cyan-blue-color has-css-opacity has-vivid-cyan-blue-background-color has-background is-style-wide\"\/>\n\n\n\n<p><strong>Note:<\/strong> It is mandatory to <a href=\"https:\/\/phoenixnap.com\/kb\/how-to-install-composer-ubuntu-18-04\" target=\"_blank\" rel=\"noreferrer noopener\">install Composer<\/a> when <a href=\"https:\/\/ccbill.com\/kb\/update-magento-to-latest-version\" target=\"_blank\" rel=\"noreferrer noopener\">updating to Magento 2.4<\/a> or subsequent versions.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-vivid-cyan-blue-color has-css-opacity has-vivid-cyan-blue-background-color has-background is-style-wide\"\/>\n\n\n\n<p>To install a security patch in Magento 2.4 with Composer: <\/p>\n\n\n\n<p>1. Access the Magento root directory from the command line:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/var\/www\/html\/magento2.4 <\/code><\/pre>\n\n\n\n<p>2. Add the <em>cweagans\/composer-patches<\/em> plugin to the <em>composer.json<\/em> file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>composer require cweagans\/composer-patches<\/code><\/pre>\n\n\n\n<p>The plugin helps resolve potential dependency conflicts in the <em>composer.json<\/em> file<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"800\" height=\"180\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/add-composer-patches-plugin.png\" alt=\"Add cweagans plugin to Composer.\" class=\"wp-image-2689\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/add-composer-patches-plugin.png 800w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/add-composer-patches-plugin-300x68.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/add-composer-patches-plugin-768x173.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure><\/div>\n\n\n<p>3. Use a preferred text editor, like <em>nano<\/em>, to access the <em>composer.json<\/em> file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano composer.json<\/code><\/pre>\n\n\n\n<p>Edit the existing <strong><code>extra<\/code><\/strong> object to specify a Composer package to apply the patch or patches. Enter a description of the patch and a reference to its location.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>  &quot;extra&quot;: {\n      &quot;composer-exit-on-patch-failure&quot;: true,\n      &quot;patches&quot;: {\n          &quot;magento\/module-uri&quot;: {\n              &quot;PRODSECBUG-2432: Security Update For Potential Vulnerability in Magento Admin URL location&quot;: &quot;patches\/composer\/github-issue-100644.diff&quot;\n          }\n      }\n  }<\/code><\/pre>\n\n\n\n<p>The module in this example is <em>\"magento\/module-uri\"<\/em>. While <em>\"PRODSECBUG-2432: Security Update For Potential Vulnerability in Magento Admin URL location\" <\/em>and <em>\"patches\/composer\/github-issue-100644.diff\" <\/em>represent the title and path to the patch file.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"802\" height=\"114\" src=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/magento-composer-json-security-patch.png\" alt=\"Contents of the composer.json file.\" class=\"wp-image-2690\" srcset=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/magento-composer-json-security-patch.png 802w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/magento-composer-json-security-patch-300x43.png 300w, https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/magento-composer-json-security-patch-768x109.png 768w\" sizes=\"(max-width: 802px) 100vw, 802px\" \/><\/figure><\/div>\n\n\n<p>If a patch affects several modules, create a patch file for each module, and reference each file within the <strong><code>extra<\/code><\/strong> object. <\/p>\n\n\n\n<p>4. Apply the patch:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>composer install<\/code><\/pre>\n\n\n\n<p>To review debugging data, use the same command and append the <strong><code>-v<\/code><\/strong> option.<\/p>\n\n\n\n<p><em>5. <\/em>Update the <em>composer.lock<\/em> file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>composer update --lock<\/code><\/pre>\n\n\n\n<p>The <em>composer.lock<\/em> file keeps track of patches applied to each Composer package in an object.<\/p>\n\n\n\n<p>6. Clean the Magento cache:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php bin\/magento cache:clean<\/code><\/pre>\n\n\n\n<p>Set the store operation mode to <em>Production<\/em> after testing store components and functionality.<\/p>\n\n\n<p class=\"h3\">Conclusion<\/p>\n\n\n<p>You now know how to install security patches in Magento 2 using two different methods. Applying patches as soon as they become available is an essential task that keeps your store safe in the long run.<\/p>\n\n\n\n<p>Consider introducing CAPTCHA to your contact forms to improve store security even further. By <a href=\"https:\/\/ccbill.com\/kb\/magento-contact-captcha\" target=\"_blank\" rel=\"noreferrer noopener\">adding CAPTCHA to the Magento contact form<\/a>, you eliminate spam and block bots from using contact forms as a gateway to compromise core services.<\/p>\n\n\n\n<p> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>This short tutorial explains how to install Magento 2 security patches from the command line and by using Composer.<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[12],"tags":[],"class_list":["post-2677","post","type-post","status-publish","format-standard","hentry","category-e-commerce"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Security Patches in Magento<\/title>\n<meta name=\"description\" content=\"Learn how to install the latest security patches in Magento 2. This step-by-step guide shows how to apply patches using 2 different methods.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ccbill.com\/kb\/install-magento-security-patches\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Security Patches in Magento\" \/>\n<meta property=\"og:description\" content=\"Learn how to install the latest security patches in Magento 2. This step-by-step guide shows how to apply patches using 2 different methods.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ccbill.com\/kb\/install-magento-security-patches\" \/>\n<meta property=\"og:site_name\" content=\"CCBill Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ccbillBIZ\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-18T17:05:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-07T11:49:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/install-security-patches-magento.png\" \/>\n<meta name=\"author\" content=\"Vladimir Kaplarevic\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CCBillBIZ\" \/>\n<meta name=\"twitter:site\" content=\"@CCBillBIZ\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vladimir Kaplarevic\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-security-patches#article\",\"isPartOf\":{\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-security-patches\"},\"author\":{\"name\":\"Vladimir Kaplarevic\",\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/person\/1f198b1218f6343a2682022ac4395644\"},\"headline\":\"How to Install Security Patches in Magento\",\"datePublished\":\"2021-11-18T17:05:29+00:00\",\"dateModified\":\"2023-03-07T11:49:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-security-patches\"},\"wordCount\":632,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/ccbill.com\/kb\/#organization\"},\"image\":{\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-security-patches#primaryimage\"},\"thumbnailUrl\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/install-security-patches-magento.png\",\"articleSection\":[\"eCommerce Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/ccbill.com\/kb\/install-magento-security-patches#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-security-patches\",\"url\":\"https:\/\/ccbill.com\/kb\/install-magento-security-patches\",\"name\":\"How to Install Security Patches in Magento\",\"isPartOf\":{\"@id\":\"https:\/\/ccbill.com\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-security-patches#primaryimage\"},\"image\":{\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-security-patches#primaryimage\"},\"thumbnailUrl\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/install-security-patches-magento.png\",\"datePublished\":\"2021-11-18T17:05:29+00:00\",\"dateModified\":\"2023-03-07T11:49:48+00:00\",\"description\":\"Learn how to install the latest security patches in Magento 2. This step-by-step guide shows how to apply patches using 2 different methods.\",\"breadcrumb\":{\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-security-patches#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ccbill.com\/kb\/install-magento-security-patches\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-security-patches#primaryimage\",\"url\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/install-security-patches-magento.png\",\"contentUrl\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/install-security-patches-magento.png\",\"width\":800,\"height\":400,\"caption\":\"Installing a new Magento security patch.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ccbill.com\/kb\/install-magento-security-patches#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"KB Home\",\"item\":\"https:\/\/ccbill.com\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"eCommerce Tutorials\",\"item\":\"https:\/\/ccbill.com\/kb\/category\/e-commerce\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Install Security Patches in Magento\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ccbill.com\/kb\/#website\",\"url\":\"https:\/\/ccbill.com\/kb\/\",\"name\":\"CCBill Knowledge Base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/ccbill.com\/kb\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ccbill.com\/kb\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/ccbill.com\/kb\/#organization\",\"name\":\"CCBill\",\"url\":\"https:\/\/ccbill.com\/kb\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2020\/10\/ccbill-logo.png\",\"contentUrl\":\"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2020\/10\/ccbill-logo.png\",\"width\":160,\"height\":70,\"caption\":\"CCBill\"},\"image\":{\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/ccbillBIZ\/\",\"https:\/\/x.com\/CCBillBIZ\",\"https:\/\/www.linkedin.com\/company\/ccbill\",\"https:\/\/www.youtube.com\/c\/CCBillBiz\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/person\/1f198b1218f6343a2682022ac4395644\",\"name\":\"Vladimir Kaplarevic\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ccbill.com\/kb\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cc08885e8fec32585bae8a0f5a1aef92f8c8c4fc33692e74e0ec2e63633d2478?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cc08885e8fec32585bae8a0f5a1aef92f8c8c4fc33692e74e0ec2e63633d2478?s=96&d=mm&r=g\",\"caption\":\"Vladimir Kaplarevic\"},\"description\":\"Vladimir is a resident Tech Writer at CCBill. He has more than 8 years of experience in implementing e-commerce and online payment solutions with various global IT services providers. His engaging writing style provides practical advice and aims to spark curiosity for innovative technologies.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Security Patches in Magento","description":"Learn how to install the latest security patches in Magento 2. This step-by-step guide shows how to apply patches using 2 different methods.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ccbill.com\/kb\/install-magento-security-patches","og_locale":"en_US","og_type":"article","og_title":"How to Install Security Patches in Magento","og_description":"Learn how to install the latest security patches in Magento 2. This step-by-step guide shows how to apply patches using 2 different methods.","og_url":"https:\/\/ccbill.com\/kb\/install-magento-security-patches","og_site_name":"CCBill Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/ccbillBIZ\/","article_published_time":"2021-11-18T17:05:29+00:00","article_modified_time":"2023-03-07T11:49:48+00:00","og_image":[{"url":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/install-security-patches-magento.png","type":"","width":"","height":""}],"author":"Vladimir Kaplarevic","twitter_card":"summary_large_image","twitter_creator":"@CCBillBIZ","twitter_site":"@CCBillBIZ","twitter_misc":{"Written by":"Vladimir Kaplarevic","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ccbill.com\/kb\/install-magento-security-patches#article","isPartOf":{"@id":"https:\/\/ccbill.com\/kb\/install-magento-security-patches"},"author":{"name":"Vladimir Kaplarevic","@id":"https:\/\/ccbill.com\/kb\/#\/schema\/person\/1f198b1218f6343a2682022ac4395644"},"headline":"How to Install Security Patches in Magento","datePublished":"2021-11-18T17:05:29+00:00","dateModified":"2023-03-07T11:49:48+00:00","mainEntityOfPage":{"@id":"https:\/\/ccbill.com\/kb\/install-magento-security-patches"},"wordCount":632,"commentCount":0,"publisher":{"@id":"https:\/\/ccbill.com\/kb\/#organization"},"image":{"@id":"https:\/\/ccbill.com\/kb\/install-magento-security-patches#primaryimage"},"thumbnailUrl":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/install-security-patches-magento.png","articleSection":["eCommerce Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ccbill.com\/kb\/install-magento-security-patches#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ccbill.com\/kb\/install-magento-security-patches","url":"https:\/\/ccbill.com\/kb\/install-magento-security-patches","name":"How to Install Security Patches in Magento","isPartOf":{"@id":"https:\/\/ccbill.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ccbill.com\/kb\/install-magento-security-patches#primaryimage"},"image":{"@id":"https:\/\/ccbill.com\/kb\/install-magento-security-patches#primaryimage"},"thumbnailUrl":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/install-security-patches-magento.png","datePublished":"2021-11-18T17:05:29+00:00","dateModified":"2023-03-07T11:49:48+00:00","description":"Learn how to install the latest security patches in Magento 2. This step-by-step guide shows how to apply patches using 2 different methods.","breadcrumb":{"@id":"https:\/\/ccbill.com\/kb\/install-magento-security-patches#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ccbill.com\/kb\/install-magento-security-patches"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ccbill.com\/kb\/install-magento-security-patches#primaryimage","url":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/install-security-patches-magento.png","contentUrl":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2021\/11\/install-security-patches-magento.png","width":800,"height":400,"caption":"Installing a new Magento security patch."},{"@type":"BreadcrumbList","@id":"https:\/\/ccbill.com\/kb\/install-magento-security-patches#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"KB Home","item":"https:\/\/ccbill.com\/kb\/"},{"@type":"ListItem","position":2,"name":"eCommerce Tutorials","item":"https:\/\/ccbill.com\/kb\/category\/e-commerce"},{"@type":"ListItem","position":3,"name":"How to Install Security Patches in Magento"}]},{"@type":"WebSite","@id":"https:\/\/ccbill.com\/kb\/#website","url":"https:\/\/ccbill.com\/kb\/","name":"CCBill Knowledge Base","description":"","publisher":{"@id":"https:\/\/ccbill.com\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ccbill.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ccbill.com\/kb\/#organization","name":"CCBill","url":"https:\/\/ccbill.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ccbill.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2020\/10\/ccbill-logo.png","contentUrl":"https:\/\/ccbill.com\/kb\/wp-content\/uploads\/2020\/10\/ccbill-logo.png","width":160,"height":70,"caption":"CCBill"},"image":{"@id":"https:\/\/ccbill.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ccbillBIZ\/","https:\/\/x.com\/CCBillBIZ","https:\/\/www.linkedin.com\/company\/ccbill","https:\/\/www.youtube.com\/c\/CCBillBiz"]},{"@type":"Person","@id":"https:\/\/ccbill.com\/kb\/#\/schema\/person\/1f198b1218f6343a2682022ac4395644","name":"Vladimir Kaplarevic","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ccbill.com\/kb\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cc08885e8fec32585bae8a0f5a1aef92f8c8c4fc33692e74e0ec2e63633d2478?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cc08885e8fec32585bae8a0f5a1aef92f8c8c4fc33692e74e0ec2e63633d2478?s=96&d=mm&r=g","caption":"Vladimir Kaplarevic"},"description":"Vladimir is a resident Tech Writer at CCBill. He has more than 8 years of experience in implementing e-commerce and online payment solutions with various global IT services providers. His engaging writing style provides practical advice and aims to spark curiosity for innovative technologies."}]}},"_links":{"self":[{"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/posts\/2677","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/comments?post=2677"}],"version-history":[{"count":24,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/posts\/2677\/revisions"}],"predecessor-version":[{"id":4870,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/posts\/2677\/revisions\/4870"}],"wp:attachment":[{"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/media?parent=2677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/categories?post=2677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ccbill.com\/kb\/wp-json\/wp\/v2\/tags?post=2677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}