{"id":9014,"date":"2025-12-08T10:04:28","date_gmt":"2025-12-08T10:04:28","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2025\/12\/08\/next-js-released-a-scanner-to-detect-and-update-apps-impacted-by-react2shell-vulnerability\/"},"modified":"2025-12-08T10:04:28","modified_gmt":"2025-12-08T10:04:28","slug":"next-js-released-a-scanner-to-detect-and-update-apps-impacted-by-react2shell-vulnerability","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2025\/12\/08\/next-js-released-a-scanner-to-detect-and-update-apps-impacted-by-react2shell-vulnerability\/","title":{"rendered":"Next.js Released a Scanner to Detect and Update Apps Impacted by React2Shell Vulnerability"},"content":{"rendered":"<p>    Next.js Released a Scanner to Detect and Update Apps Impacted by React2Shell Vulnerability<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p>A dedicated command-line tool,\u00a0fix-react2shell-next, to help developers immediately detect and patch the critical \u201c<a href=\"https:\/\/cybersecuritynews.com\/react2shell-rce-vulnerability\/\" target=\"_blank\" rel=\"noreferrer noopener\">React2Shell<\/a>\u201d vulnerability (<a href=\"https:\/\/cybersecuritynews.com\/react-and-next-js-rce-vulnerability\/\" target=\"_blank\" rel=\"noreferrer noopener\">CVE-2025-66478<\/a>).<\/p>\n<p>This new scanner offers a one-line solution to identify vulnerable versions of Next.js and React Server Components (<a href=\"https:\/\/cybersecuritynews.com\/scanner-tool-reactjs-and-next-js\/\" target=\"_blank\" rel=\"noreferrer noopener\">RSC<\/a>). Automatically apply the required security updates included in the latest Next.js release.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-automated-detection-and-patching\"><strong>Automated Detection and Patching<\/strong><\/h2>\n<p>The tool simplifies the remediation process by recursively scanning all\u00a0package.json\u00a0files within a project.<\/p>\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/raw.githubusercontent.com\/vercel-labs\/fix-react2shell-next\/main\/cli.gif?ssl=1\" alt=\"next.js scanner tool\"><figcaption class=\"wp-element-caption\">next.js scanner tool<\/figcaption><\/figure>\n<p>This design ensures it works effectively across both standard repositories and complex monorepos managed by <a href=\"https:\/\/cybersecuritynews.com\/15-weaponized-npm-packages\/\" target=\"_blank\" rel=\"noreferrer noopener\">npm<\/a>, yarn, pnpm, or bun.<\/p>\n<p>Unlike manual checks, which can be prone to human error, the scanner systematically verifies the installed versions of\u00a0next,\u00a0react-server-dom-webpack,\u00a0react-server-dom-parcel, and\u00a0react-server-dom-turbopack.<\/p>\n<p>Once vulnerable packages are identified, the utility patches them to the correct, secure version, as determined by the official GitHub <a href=\"https:\/\/github.com\/vercel-labs\/fix-react2shell-next\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">advisory<\/a>.<\/p>\n<p>It then refreshes the lockfile using the detected package manager to ensure the fix is properly locked in.<\/p>\n<p>For example, it will automatically upgrade a vulnerable Next.js 15.1.0 installation directly to the fixed 15.1.9 release.<\/p>\n<p>The vulnerability affects multiple release lines of Next.js and React RSC packages, as reported by GitHub.<\/p>\n<p>Developers running any version within the \u201cAffected\u201d ranges below should upgrade immediately.<\/p>\n<figure class=\"wp-block-table is-style-stripes\">\n<table class=\"has-fixed-layout\">\n<thead>\n<tr>\n<th class=\"has-text-align-left\" data-align=\"left\">Package<\/th>\n<th class=\"has-text-align-left\" data-align=\"left\">Affected Version Range<\/th>\n<th class=\"has-text-align-left\" data-align=\"left\">Patched Version<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td class=\"has-text-align-left\" data-align=\"left\"><strong>Next.js<\/strong><\/td>\n<td class=\"has-text-align-left\" data-align=\"left\">15.0.0 \u2013 15.0.4<\/td>\n<td class=\"has-text-align-left\" data-align=\"left\">15.0.5<\/td>\n<\/tr>\n<tr>\n<td class=\"has-text-align-left\" data-align=\"left\"><\/td>\n<td class=\"has-text-align-left\" data-align=\"left\">15.1.0 \u2013 15.1.8<\/td>\n<td class=\"has-text-align-left\" data-align=\"left\">15.1.9<\/td>\n<\/tr>\n<tr>\n<td class=\"has-text-align-left\" data-align=\"left\"><\/td>\n<td class=\"has-text-align-left\" data-align=\"left\">15.2.0 \u2013 15.2.5<\/td>\n<td class=\"has-text-align-left\" data-align=\"left\">15.2.6<\/td>\n<\/tr>\n<tr>\n<td class=\"has-text-align-left\" data-align=\"left\"><\/td>\n<td class=\"has-text-align-left\" data-align=\"left\">15.3.0 \u2013 15.3.5<\/td>\n<td class=\"has-text-align-left\" data-align=\"left\">15.3.6<\/td>\n<\/tr>\n<tr>\n<td class=\"has-text-align-left\" data-align=\"left\"><\/td>\n<td class=\"has-text-align-left\" data-align=\"left\">15.4.0 \u2013 15.4.7<\/td>\n<td class=\"has-text-align-left\" data-align=\"left\">15.4.8<\/td>\n<\/tr>\n<tr>\n<td class=\"has-text-align-left\" data-align=\"left\"><\/td>\n<td class=\"has-text-align-left\" data-align=\"left\">16.0.0 \u2013 16.0.6<\/td>\n<td class=\"has-text-align-left\" data-align=\"left\">16.0.7<\/td>\n<\/tr>\n<tr>\n<td class=\"has-text-align-left\" data-align=\"left\"><strong>React RSC<\/strong><\/td>\n<td class=\"has-text-align-left\" data-align=\"left\">19.0.0<\/td>\n<td class=\"has-text-align-left\" data-align=\"left\">19.0.1<\/td>\n<\/tr>\n<tr>\n<td class=\"has-text-align-left\" data-align=\"left\"><\/td>\n<td class=\"has-text-align-left\" data-align=\"left\">19.1.0 \u2013 19.1.1<\/td>\n<td class=\"has-text-align-left\" data-align=\"left\">19.1.2<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<h2 class=\"wp-block-heading\" id=\"h-how-to-use-the-scanner\"><strong>How to Use the Scanner<\/strong><\/h2>\n<p>Developers can run the tool directly using\u00a0npx. For an interactive experience that asks for confirmation before making changes, users can run the standard command.<\/p>\n<p>For continuous <a href=\"https:\/\/cybersecuritynews.com\/quickbooks-online-and-mysql-no-code-integration\/\" target=\"_blank\" rel=\"noreferrer noopener\">integration<\/a> (CI) environments or automated workflows where prompts are not possible, the\u00a0fix\u00a0flag forces the tool to apply patches automatically.<\/p>\n<p>Conversely, teams who want to audit their project without making immediate changes can use the\u00a0dry-run\u00a0flag to see a report of what would be updated.<\/p>\n<p>A\u00a0json\u00a0flag is also available for scripting purposes, allowing security teams to pipe the output into other monitoring tools. To run the interactive fix, execute the following command in your terminal: npx fix-react2shell-next.<\/p>\n<p class=\"has-text-align-center has-background\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 94%,rgb(169,184,195) 100%)\"><strong>Follow us on <a href=\"https:\/\/news.google.com\/publications\/CAAqMggKIixDQklTR3dnTWFoY0tGV041WW1WeWMyVmpkWEpwZEhsdVpYZHpMbU52YlNnQVAB?hl=en-IN&amp;gl=IN&amp;ceid=IN:en\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Google News<\/a>, <a href=\"https:\/\/www.linkedin.com\/company\/cybersecurity-news\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">LinkedIn<\/a>, and <a href=\"https:\/\/x.com\/cyber_press_org\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">X<\/a> for daily cybersecurity updates. <a href=\"https:\/\/cybersecuritynews.com\/contact-us\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Contact us<\/a> to feature your stories.<\/strong><\/p>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/next-js-released-a-scanner\/\">Next.js Released a Scanner to Detect and Update Apps Impacted by React2Shell Vulnerability<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Abinaya<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/next-js-released-a-scanner\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Next.js Released a Scanner to Detect and Update Apps Impacted by React2Shell Vulnerability A dedicated command-line tool,\u00a0fix-react2shell-next, to help developers immediately detect and patch the critical \u201cReact2Shell\u201d vulnerability (CVE-2025-66478). This new scanner offers a one-line solution to identify vulnerable versions of Next.js and React Server Components (RSC). Automatically apply the required security updates included in [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,63,648],"tags":[130],"class_list":["post-9014","post","type-post","status-publish","format-standard","hentry","category-cyber-security","category-cyber-security-news","category-vulnerability-news","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/9014"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=9014"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/9014\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=9014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=9014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=9014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}