{"id":4376,"date":"2025-04-09T16:08:08","date_gmt":"2025-04-09T08:08:08","guid":{"rendered":"http:\/\/gzwangan.com\/?p=4376"},"modified":"2025-04-09T16:15:44","modified_gmt":"2025-04-09T08:15:44","slug":"vite%e4%bb%bb%e6%84%8f%e6%96%87%e4%bb%b6%e8%af%bb%e5%8f%96%e6%bc%8f%e6%b4%9e","status":"publish","type":"post","link":"http:\/\/www.gzwangan.com\/?p=4376","title":{"rendered":"Vite\u4efb\u610f\u6587\u4ef6\u8bfb\u53d6\u6f0f\u6d1e"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"4376\" class=\"elementor elementor-4376\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-32d6b064 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"32d6b064\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-f2cee82\" data-id=\"f2cee82\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-31c650de elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"31c650de\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-ffef8f4\" data-id=\"ffef8f4\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-681764e2 elementor-widget elementor-widget-heading\" data-id=\"681764e2\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u5b89\u5168\u52a8\u6001<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-50bc30e6 elementor-section-full_width xi elementor-section-height-default elementor-section-height-default\" data-id=\"50bc30e6\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-55da03d2\" data-id=\"55da03d2\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-25c4d543 elementor-widget elementor-widget-heading\" data-id=\"25c4d543\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><a href=\"\/?page_id=561\">\u884c\u4e1a\u52a8\u6001<\/a><\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-1e5775d5 elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"1e5775d5\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-5b751d06\" data-id=\"5b751d06\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-121ebddf elementor-widget elementor-widget-heading\" data-id=\"121ebddf\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><a href=\"\/?page_id=566\">\u6f0f\u6d1e\u52a8\u6001<\/a><\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-7f3ffc57 elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"7f3ffc57\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-21d69383\" data-id=\"21d69383\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-69f96559 elementor-widget elementor-widget-heading\" data-id=\"69f96559\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u8054\u7cfb\u65b9\u5f0f<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-27ce2b0c elementor-widget elementor-widget-text-editor\" data-id=\"27ce2b0c\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>\u5730\u5740\uff1a\u00a0\u5e7f\u5dde\u5e02\u8d8a\u79c0\u533a\u4e1c\u98ce\u4e1c\u8def750\u53f7\u5e7f\u8054\u5927\u53a613\u697c1307-1309\u5ba4<br \/>\u7535\u8bdd\uff1a18898400087<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-3c91d831\" data-id=\"3c91d831\" data-element_type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-68a77c58 elementor-widget elementor-widget-text-editor\" data-id=\"68a77c58\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li style=\"text-align: left;\"><span style=\"color: #000000;\">\u6f0f\u6d1e\u7f16\u53f7\uff1a<\/span><span style=\"color: #000000;\"><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px;\">CVE-2025-31486<\/span><br><\/span><\/li>\n<\/ul>\n<\/li>\n<li><span style=\"color: #000000;\">\u6f0f\u6d1e\u7c7b\u578b\uff1a<\/span><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px;\">\u4fe1\u606f\u6cc4\u9732<\/span><\/li>\n<li><span style=\"color: #000000;\">\u6f0f\u6d1e\u7b49\u7ea7\uff1a\u9ad8\u5371<\/span><\/li>\n<li><span style=\"color: #000000;\">\u53d1\u5e03\u65f6\u95f4\uff1a<\/span><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px;\">2025-04-03<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<\/span><\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #000000;\">\u6f0f\u6d1e\u63cf\u8ff0\uff1a<\/span><\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px;\">Vite \u662f\u4e00\u6b3e\u73b0\u4ee3\u5316\u7684\u524d\u7aef\u5f00\u53d1\u6784\u5efa\u5de5\u5177\uff0c\u5b83\u63d0\u4f9b\u4e86\u5feb\u901f\u7684\u5f00\u53d1\u670d\u52a1\u5668\u548c\u9ad8\u6548\u7684\u6784\u5efa\u80fd\u529b\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e Vue.js \u9879\u76ee\u7684\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u3002<\/span><\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px;\">\u8fd1\u65e5\uff0c\u76d1\u6d4b\u5230\u5b98\u65b9\u4fee\u590dVite \u4efb\u610f\u6587\u4ef6\u8bfb\u53d6\u6f0f\u6d1e(CVE-2025-31486)\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e Vite \u5f00\u53d1\u670d\u52a1\u5668\u5728\u5904\u7406\u7279\u5b9a URL \u8bf7\u6c42\u65f6\uff0c\u6ca1\u6709\u5bf9\u8bf7\u6c42\u7684\u8def\u5f84\u8fdb\u884c\u4e25\u683c\u7684\u5b89\u5168\u68c0\u67e5\u548c\u9650\u5236\uff0c\u5bfc\u81f4\u653b\u51fb\u8005\u53ef\u4ee5\u7ed5\u8fc7\u4fdd\u62a4\u673a\u5236\uff0c\u975e\u6cd5\u8bbf\u95ee\u9879\u76ee\u6839\u76ee\u5f55\u5916\u7684\u654f\u611f\u6587\u4ef6\u3002<\/span><span style=\"font-weight: bold; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px;\">\u76ee\u524d\u8be5\u6f0f\u6d1e\u6280\u672f\u7ec6\u8282\u4e0ePoC\u5df2\u5728\u4e92\u8054\u7f51\u4e0a\u516c\u5f00\uff0c<\/span><span style=\"font-weight: bold; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px;\">\u9274\u4e8e\u8be5\u6f0f\u6d1e\u5f71\u54cd\u8303\u56f4\u8f83\u5927\uff0c\u5efa\u8bae\u5ba2\u6237\u5c3d\u5feb\u505a\u597d\u81ea\u67e5\u53ca\u9632\u62a4\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">&nbsp;<\/span><\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #000000;\">\u5f71\u54cd\u7248\u672c\uff1a<\/span><\/p>\n<div data-v-27da897c=\"\">\n<p style=\"margin-top: 16px; margin-bottom: 16px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; padding-left: 40px;\">6.2.0 &lt;= Vite &lt;= 6.2.4<\/p>\n<p style=\"margin-top: 16px; margin-bottom: 16px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; padding-left: 40px;\">6.1.0 &lt;= Vite &lt;= 6.1.3<\/p>\n<p style=\"margin-top: 16px; margin-bottom: 16px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; padding-left: 40px;\">6.0.0 &lt;= Vite &lt;= 6.0.13<\/p>\n<p style=\"margin-top: 16px; margin-bottom: 16px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; padding-left: 40px;\">5.0.0 &lt;= Vite &lt;= 5.4.16<\/p>\n<p style=\"margin-top: 16px; margin-bottom: 16px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; padding-left: 40px;\">Vite &lt;= 4.5.11<\/p>\n<\/div>\n<div data-v-27da897c=\"\">&nbsp;<\/div>\n<p><span style=\"color: #000000;\">&nbsp;<\/span><\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #000000;\">\u4fee\u590d\u5efa\u8bae<\/span><\/p>\n<p style=\"margin-top: 16px; margin-bottom: 16px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; padding-left: 40px;\"><span style=\"font-weight: bold;\">\u5b89\u5168\u66f4\u65b0<\/span><\/p>\n<p style=\"margin-top: 16px; margin-bottom: 16px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; padding-left: 40px;\">\u76ee\u524d\u5b98\u65b9\u5df2\u6709\u53ef\u66f4\u65b0\u7248\u672c\uff0c\u5efa\u8bae\u53d7\u5f71\u54cd\u7528\u6237\u5347\u7ea7\u81f3\u6700\u65b0\u7248\u672c\uff1a<\/p>\n<p style=\"margin-top: 16px; margin-bottom: 16px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; padding-left: 40px;\">Vite &gt;= 6.2.5<\/p>\n<p style=\"margin-top: 16px; margin-bottom: 16px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; padding-left: 40px;\">Vite &gt;= 6.1.4<\/p>\n<p style=\"margin-top: 16px; margin-bottom: 16px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; padding-left: 40px;\">Vite &gt;= 6.0.14<\/p>\n<p style=\"margin-top: 16px; margin-bottom: 16px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; padding-left: 40px;\">Vite &gt;= 5.4.17<\/p>\n<p style=\"margin-top: 16px; margin-bottom: 16px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; padding-left: 40px;\">Vite &gt;= 4.5.12<\/p>\n<p style=\"margin-top: 16px; margin-bottom: 16px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; padding-left: 40px;\">\u5b98\u65b9\u8865\u4e01\u4e0b\u8f7d\u5730\u5740\uff1a<\/p>\n<p style=\"margin-top: 16px; margin-bottom: 16px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; padding-left: 40px;\">https:\/\/github.com\/vitejs\/vite\/releases<\/p>\n<p style=\"margin-top: 16px; margin-bottom: 16px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; padding-left: 40px;\"><span style=\"font-weight: bold;\">\u4fee\u590d\u7f13\u89e3\u63aa\u65bd\uff1a<\/span><\/p>\n<p style=\"margin-top: 16px; margin-bottom: 16px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; padding-left: 40px;\">\u901a\u8fc7\u9650\u5236\u5f00\u53d1\u670d\u52a1\u5668\u7684\u8bbf\u95ee\u6743\u9650\uff0c\u5982\u5173\u95ed server.host \u6216\u5c06\u5176\u7ed1\u5b9a\u5230\u7279\u5b9a\u7684 IP \u5730\u5740\uff0c\u4ee5\u51cf\u5c11\u653b\u51fb\u9762\u3002<\/p>\n<p style=\"padding-left: 40px;\">\u53c2\u8003\u94fe\u63a5:<br>https:\/\/github.com\/vitejs\/vite\/security\/advisories\/GHSA-xcj6-pq6g-qj4x<\/p>\n<div>&nbsp;<\/div>\n<div>&nbsp;<\/div>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-141865ee elementor-widget elementor-widget-post-navigation\" data-id=\"141865ee\" data-element_type=\"widget\" data-widget_type=\"post-navigation.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-post-navigation\">\n\t\t\t<div class=\"elementor-post-navigation__prev elementor-post-navigation__link\">\n\t\t\t\t<a href=\"http:\/\/www.gzwangan.com\/?p=4370\" rel=\"prev\"><span class=\"post-navigation__arrow-wrapper post-navigation__arrow-prev\"><i class=\"fa fa-angle-left\" aria-hidden=\"true\"><\/i><span class=\"elementor-screen-only\">Prev<\/span><\/span><span class=\"elementor-post-navigation__link__prev\"><span class=\"post-navigation__prev--title\">PgAdmin PgAdmin4 \u9700\u6388\u6743 \u4ee3\u7801\u6ce8\u5165\u6f0f\u6d1e<\/span><\/span><\/a>\t\t\t<\/div>\n\t\t\t\t\t\t<div class=\"elementor-post-navigation__next elementor-post-navigation__link\">\n\t\t\t\t<a href=\"http:\/\/www.gzwangan.com\/?p=4381\" rel=\"next\"><span class=\"elementor-post-navigation__link__next\"><span class=\"post-navigation__next--title\">CrushFTP\u8eab\u4efd\u9a8c\u8bc1\u7ed5\u8fc7\u6f0f\u6d1e\u00a0<\/span><\/span><span class=\"post-navigation__arrow-wrapper post-navigation__arrow-next\"><i class=\"fa fa-angle-right\" aria-hidden=\"true\"><\/i><span class=\"elementor-screen-only\">Next<\/span><\/span><\/a>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4202af9f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4202af9f\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5449f08b\" data-id=\"5449f08b\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u5b89\u5168\u52a8\u6001 \u884c\u4e1a\u52a8\u6001 \u6f0f\u6d1e\u52a8\u6001 \u8054\u7cfb\u65b9\u5f0f \u5730\u5740\uff1a\u00a0\u5e7f\u5dde\u5e02\u8d8a\u79c0\u533a\u4e1c\u98ce\u4e1c\u8def750\u53f7\u5e7f\u8054\u5927\u53a613\u697c1307-1309\u5ba4&hellip; <a class=\"more-link\" href=\"http:\/\/www.gzwangan.com\/?p=4376\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">Vite\u4efb\u610f\u6587\u4ef6\u8bfb\u53d6\u6f0f\u6d1e<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"elementor_header_footer","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-4376","post","type-post","status-publish","format-standard","hentry","category-security","entry"],"_links":{"self":[{"href":"http:\/\/www.gzwangan.com\/index.php?rest_route=\/wp\/v2\/posts\/4376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.gzwangan.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gzwangan.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gzwangan.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gzwangan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4376"}],"version-history":[{"count":4,"href":"http:\/\/www.gzwangan.com\/index.php?rest_route=\/wp\/v2\/posts\/4376\/revisions"}],"predecessor-version":[{"id":4380,"href":"http:\/\/www.gzwangan.com\/index.php?rest_route=\/wp\/v2\/posts\/4376\/revisions\/4380"}],"wp:attachment":[{"href":"http:\/\/www.gzwangan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gzwangan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4376"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gzwangan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}