{"id":33270,"date":"2025-04-03T06:06:07","date_gmt":"2025-04-03T06:06:07","guid":{"rendered":"https:\/\/nsfocusglobal.com\/?p=31515"},"modified":"2026-04-17T18:07:36","modified_gmt":"2026-04-17T18:07:36","slug":"vite-arbitrary-file-read-vulnerability-cve-2025-31125","status":"publish","type":"post","link":"https:\/\/nsfocusglobal.com\/pt-br\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\/","title":{"rendered":"Vite Arbitrary File Read Vulnerability (CVE-2025-31125)"},"content":{"rendered":"<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body><h2 class=\"wp-block-heading\">Overview<\/h2>\n\n\n\n<p>Recently, NSFOCUS CERT detected that Vite issued a security bulletin to fix the Vite arbitrary file read vulnerability (CVE-2025-31125); Because the Vite development server does not strictly verify the path when processing URL requests, unauthenticated attackers can bypass path access restrictions by constructing special URLs and read arbitrary files on the target server. At present, the vulnerability details and PoC have been made public. Relevant users are requested to take measures to protect themselves as soon as possible.<\/p>\n\n\n\n<p>NSFOCUS has successfully reproduced this vulnerability:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2025\/04\/0403a.png\"><img decoding=\"async\" src=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2025\/04\/0403a-1024x479.png\" alt=\"Red circular no entry sign with a white horizontal bar.\" class=\"wp-image-31516\"><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2025\/04\/0403b.png\"><img decoding=\"async\" src=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2025\/04\/0403b-1024x211.png\" alt=\"Red circular no entry sign with a white horizontal bar.\" class=\"wp-image-31518\"><\/a><\/figure>\n\n\n\n<p>Reference link: <a href=\"https:\/\/github.com\/vitejs\/vite\/security\/advisories\/GHSA-4r4m-qw57-chr8\">https:\/\/github.com\/vitejs\/vite\/security\/advisories\/GHSA-4r4m-qw57-chr8<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Scope of Impact<\/h2>\n\n\n\n<p><strong>Affected versions<\/strong><strong><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>6.2.0 &lt;= Vite &lt;= 6.2.3<\/li>\n\n\n\n<li>6.1.0 &lt;= Vite &lt;= 6.1.2<\/li>\n\n\n\n<li>6.0.0 &lt;= Vite &lt;= 6.0.12<\/li>\n\n\n\n<li>5.0.0 &lt;= Vite &lt;= 5.4.15<\/li>\n\n\n\n<li>Vite &lt;= 4.5.10<\/li>\n<\/ul>\n\n\n\n<p>Note: Affects applications that expose the Vite development server to the network (enable &#8211;host or configure server.host).<\/p>\n\n\n\n<p><strong>Unaffected version<\/strong><strong><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Vite &gt;= 6.2.4<\/li>\n\n\n\n<li>6.1.3 &lt;= Vite &lt; 6.2.0<\/li>\n\n\n\n<li>6.0.13 &lt;= Vite &lt; 6.1.0<\/li>\n\n\n\n<li>5.4.16 &lt;= Vite &lt; 6.0.0<\/li>\n\n\n\n<li>4.5.11 &lt;= Vite &lt; 5.0.0<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Detection<\/h2>\n\n\n\n<p><strong>Manual<\/strong> <strong>detection<\/strong><\/p>\n\n\n\n<p>Relevant users can check whether the current Vite version is affected by this vulnerability to troubleshoot whether the current service is affected. The following command can be used to view the global installation through npm:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2025\/04\/0403c.png\"><img decoding=\"async\" src=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2025\/04\/0403c.png\" alt=\"Red circular no entry sign with a white horizontal bar.\" class=\"wp-image-31520\"><\/a><\/figure>\n\n\n\n<p>User can also run the vite -v command directly in the terminal command line to view:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2025\/04\/0403d.png\"><img decoding=\"async\" src=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2025\/04\/0403d.png\" alt=\"Red circular no entry sign with a white horizontal bar.\" class=\"wp-image-31522\"><\/a><\/figure>\n\n\n\n<p><strong>Tool detection<\/strong><\/p>\n\n\n\n<p>NSFOCUS Automated Penetration Testing Tool (EZ) has supported Vite&#8217;s fingerprint recognition and CVE-2025-31125 vulnerability risk detection (Note: For the enterprise version, please contact NSFOCUS sales staff to obtain it).<\/p>\n\n\n\n<p>Users can use the following command to detect vulnerabilities:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-cyan-bluish-gray-background-color has-background\"><tbody><tr><td>.\/ez&nbsp;webscan&nbsp;&#8211;pocs&nbsp;vite&nbsp;-u&nbsp;&nbsp;https:192.168.1.41:443\/<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2025\/04\/0403e.png\"><img decoding=\"async\" src=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2025\/04\/0403e.png\" alt=\"Red circular no entry sign with a white horizontal bar.\" class=\"wp-image-31524\"><\/a><\/figure>\n\n\n\n<p>Tool download link: <a href=\"https:\/\/github.com\/m-sec-org\/EZ\/releases\">https:\/\/github.com\/m-sec-org\/EZ\/releases<\/a><\/p>\n\n\n\n<p><strong>Product Testing<\/strong><\/p>\n\n\n\n<p>The NSFOCUS Remote Security Assessment System (RSAS) has the ability to scan and detect this vulnerability. Users who have deployed the above equipment are requested to upgrade to the latest version.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>&nbsp;<\/strong><\/td><td><strong>Upgrade package version No.<\/strong><strong><\/strong><\/td><td><strong>Upgrade package download link<\/strong><strong><\/strong><\/td><\/tr><tr><td><strong>RSAS V6 system plug-in package<\/strong><strong><\/strong><\/td><td>V6.0R02F01.3911<\/td><td>https:\/\/update.nsfocus.com\/update\/listRsasDetail\/v\/vulsys<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>For RSAS upgrade configuration guidance, please refer to the following link: <a href=\"https:\/\/update.nsfocusglobal.com\/update\/listRsas\">https:\/\/update.nsfocusglobal.com\/update\/listRsas<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Risk Investigation of Exposure Surface<\/h2>\n\n\n\n<p><strong>Cloud detection<\/strong><\/p>\n\n\n\n<p>NSFOCUS External Attack Surface Management Service (EASM) supports the Internet asset investigation of CVE-2025-31125 vulnerability risks. It has helped service customer groups complete exposure surface investigation and risk verification, and timely conducts vulnerability warning and closed-loop disposal before threats occur.<\/p>\n\n\n\n<p>Interested customers can arrange detailed consultation and communication by contacting their local regional colleagues at NSFOCUS or sending an email to rs@nsfocus.com.<\/p>\n\n\n\n<p><strong>Local detection<\/strong><\/p>\n\n\n\n<p>NSFOCUS CTEM solution can support the active discovery and troubleshooting of Vite-related assets and CVE-2025-31125 vulnerability risks:<\/p>\n\n\n\n<p>Users use the external attack surface discovery function to synchronize CVE-2025-31125 vulnerability clues to the cloud, and obtain the affected assets of the target unit through asset mapping by fingerprint recognition or PoC scanning, it also supports calling various vulnerability scanning devices.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Mitigation<\/h2>\n\n\n\n<p><strong>Official upgrade<\/strong><\/p>\n\n\n\n<p>At present, the official has released a new version to fix this vulnerability. Affected users are requested to upgrade their protection as soon as possible. Download link: https:\/\/github.com\/vitejs\/vite\/releases<\/p>\n\n\n\n<p><strong>Temporary protective measures<\/strong><\/p>\n\n\n\n<p>If the relevant users are temporarily unable to perform upgrade operations, they can be temporarily alleviated by restricting access to the Vite development server without affecting their business.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Statement<\/h2>\n\n\n\n<p>This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and\/or indirect consequences and losses caused by transmitting and\/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add\/delete any information to\/from it, or use this advisory for commercial purposes without permission from NSFOCUS.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">About NSFOCUS<\/h2>\n\n\n\n<p>NSFOCUS, a pioneering leader in cybersecurity, is dedicated to safeguarding telecommunications, Internet service providers, hosting providers, and enterprises from sophisticated cyberattacks.<\/p>\n\n\n\n<p>Founded in 2000, NSFOCUS operates globally with over 4000 employees at two headquarters in Beijing, China, and Santa Clara, CA, USA, and over 50 offices worldwide. It has a proven track record of protecting over 25% of the Fortune Global 500 companies, including four of the five largest banks and six of the world&acirc;&euro;&trade;s top ten telecommunications companies.<\/p>\n\n\n\n<p>Leveraging technical prowess and innovation, NSFOCUS delivers a comprehensive suite of security solutions, including the Intelligent Security Operations Platform (ISOP) for modern SOC, DDoS Protection, Continuous Threat Exposure Management (CTEM) Service and Web Application and API Protection (WAAP). All the solutions and services are augmented by the Security Large Language Model (SecLLM), ML, patented algorithms and other cutting-edge research achievements developed by NSFOCUS.<\/p>\n<\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>Overview Recently, NSFOCUS CERT detected that Vite issued a security bulletin to fix the Vite arbitrary file read vulnerability (CVE-2025-31125); Because the Vite development server does not strictly verify the path when processing URL requests, unauthenticated attackers can bypass path access restrictions by constructing special URLs and read arbitrary files on the target server. At [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":28664,"comment_status":"open","ping_status":"open","sticky":false,"template":"post-templates\/single-layout-8.php","format":"standard","meta":{"_acf_changed":false,"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[3,6],"tags":[948,953,950],"class_list":["post-33270","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-emergency-response","tag-arbitrary-file-reading","tag-cve-2025-31125","tag-vite"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Vite Arbitrary File Read Vulnerability (CVE-2025-31125) - NSFOCUS<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/nsfocusglobal.com\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Vite Arbitrary File Read Vulnerability (CVE-2025-31125) - NSFOCUS\" \/>\n<meta property=\"og:description\" content=\"Overview Recently, NSFOCUS CERT detected that Vite issued a security bulletin to fix the Vite arbitrary file read vulnerability (CVE-2025-31125); Because\" \/>\n<meta property=\"og:url\" content=\"https:\/\/nsfocusglobal.com\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\/\" \/>\n<meta property=\"og:site_name\" content=\"NSFOCUS\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-03T06:06:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-17T18:07:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2024\/04\/Critical.png\" \/>\n<meta name=\"author\" content=\"NSFOCUS\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Vite Arbitrary File Read Vulnerability (CVE-2025-31125) - NSFOCUS\" \/>\n<meta name=\"twitter:description\" content=\"Overview Recently, NSFOCUS CERT detected that Vite issued a security bulletin to fix the Vite arbitrary file read vulnerability (CVE-2025-31125); Because\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2024\/04\/Critical.png\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"NSFOCUS\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\\\/\"},\"author\":{\"name\":\"NSFOCUS\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/#\\\/schema\\\/person\\\/fd9ab61c9c77a81bbd870f725cc0c61d\"},\"headline\":\"Vite Arbitrary File Read Vulnerability (CVE-2025-31125)\",\"datePublished\":\"2025-04-03T06:06:07+00:00\",\"dateModified\":\"2026-04-17T18:07:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\\\/\"},\"wordCount\":789,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/nsfocusglobal.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/Critical.png\",\"keywords\":[\"arbitrary file reading\",\"CVE-2025-31125\",\"Vite\"],\"articleSection\":[\"Blog\",\"Emergency Response\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/nsfocusglobal.com\\\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\\\/\",\"url\":\"https:\\\/\\\/nsfocusglobal.com\\\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\\\/\",\"name\":\"Vite Arbitrary File Read Vulnerability (CVE-2025-31125) - NSFOCUS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/nsfocusglobal.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/Critical.png\",\"datePublished\":\"2025-04-03T06:06:07+00:00\",\"dateModified\":\"2026-04-17T18:07:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\\\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/nsfocusglobal.com\\\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\\\/#primaryimage\",\"url\":\"https:\\\/\\\/nsfocusglobal.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/Critical.png\",\"contentUrl\":\"https:\\\/\\\/nsfocusglobal.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/Critical.png\",\"width\":169,\"height\":107,\"caption\":\"Critical alert icon with shield symbol.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/nsfocusglobal.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Vite Arbitrary File Read Vulnerability (CVE-2025-31125)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/#website\",\"url\":\"https:\\\/\\\/nsfocusglobal.com\\\/\",\"name\":\"NSFOCUS\",\"description\":\"Security Made Smart and Simple\",\"publisher\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/nsfocusglobal.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/#organization\",\"name\":\"NSFOCUS\",\"url\":\"https:\\\/\\\/nsfocusglobal.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/nsfocusglobal.com\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/logo-ns.png\",\"contentUrl\":\"https:\\\/\\\/nsfocusglobal.com\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/logo-ns.png\",\"width\":248,\"height\":36,\"caption\":\"NSFOCUS\"},\"image\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/#\\\/schema\\\/person\\\/fd9ab61c9c77a81bbd870f725cc0c61d\",\"name\":\"NSFOCUS\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d3dc987908fc59791d261b1006d84eb931d15287261476b9384e690ed0c568de?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d3dc987908fc59791d261b1006d84eb931d15287261476b9384e690ed0c568de?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d3dc987908fc59791d261b1006d84eb931d15287261476b9384e690ed0c568de?s=96&d=mm&r=g\",\"caption\":\"NSFOCUS\"},\"sameAs\":[\"https:\\\/\\\/nsfocusglobal.com\"],\"url\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Vite Arbitrary File Read Vulnerability (CVE-2025-31125) - NSFOCUS","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:\/\/nsfocusglobal.com\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\/","og_locale":"pt_BR","og_type":"article","og_title":"Vite Arbitrary File Read Vulnerability (CVE-2025-31125) - NSFOCUS","og_description":"Overview Recently, NSFOCUS CERT detected that Vite issued a security bulletin to fix the Vite arbitrary file read vulnerability (CVE-2025-31125); Because","og_url":"https:\/\/nsfocusglobal.com\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\/","og_site_name":"NSFOCUS","article_published_time":"2025-04-03T06:06:07+00:00","article_modified_time":"2026-04-17T18:07:36+00:00","og_image":[{"url":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2024\/04\/Critical.png","type":"","width":"","height":""}],"author":"NSFOCUS","twitter_card":"summary_large_image","twitter_title":"Vite Arbitrary File Read Vulnerability (CVE-2025-31125) - NSFOCUS","twitter_description":"Overview Recently, NSFOCUS CERT detected that Vite issued a security bulletin to fix the Vite arbitrary file read vulnerability (CVE-2025-31125); Because","twitter_image":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2024\/04\/Critical.png","twitter_misc":{"Escrito por":"NSFOCUS","Est. tempo de leitura":"4 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/nsfocusglobal.com\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\/#article","isPartOf":{"@id":"https:\/\/nsfocusglobal.com\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\/"},"author":{"name":"NSFOCUS","@id":"https:\/\/nsfocusglobal.com\/#\/schema\/person\/fd9ab61c9c77a81bbd870f725cc0c61d"},"headline":"Vite Arbitrary File Read Vulnerability (CVE-2025-31125)","datePublished":"2025-04-03T06:06:07+00:00","dateModified":"2026-04-17T18:07:36+00:00","mainEntityOfPage":{"@id":"https:\/\/nsfocusglobal.com\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\/"},"wordCount":789,"commentCount":0,"publisher":{"@id":"https:\/\/nsfocusglobal.com\/#organization"},"image":{"@id":"https:\/\/nsfocusglobal.com\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\/#primaryimage"},"thumbnailUrl":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2024\/04\/Critical.png","keywords":["arbitrary file reading","CVE-2025-31125","Vite"],"articleSection":["Blog","Emergency Response"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/nsfocusglobal.com\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/nsfocusglobal.com\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\/","url":"https:\/\/nsfocusglobal.com\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\/","name":"Vite Arbitrary File Read Vulnerability (CVE-2025-31125) - NSFOCUS","isPartOf":{"@id":"https:\/\/nsfocusglobal.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/nsfocusglobal.com\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\/#primaryimage"},"image":{"@id":"https:\/\/nsfocusglobal.com\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\/#primaryimage"},"thumbnailUrl":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2024\/04\/Critical.png","datePublished":"2025-04-03T06:06:07+00:00","dateModified":"2026-04-17T18:07:36+00:00","breadcrumb":{"@id":"https:\/\/nsfocusglobal.com\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/nsfocusglobal.com\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/nsfocusglobal.com\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\/#primaryimage","url":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2024\/04\/Critical.png","contentUrl":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2024\/04\/Critical.png","width":169,"height":107,"caption":"Critical alert icon with shield symbol."},{"@type":"BreadcrumbList","@id":"https:\/\/nsfocusglobal.com\/vite-arbitrary-file-read-vulnerability-cve-2025-31125\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/nsfocusglobal.com\/"},{"@type":"ListItem","position":2,"name":"Vite Arbitrary File Read Vulnerability (CVE-2025-31125)"}]},{"@type":"WebSite","@id":"https:\/\/nsfocusglobal.com\/#website","url":"https:\/\/nsfocusglobal.com\/","name":"NSFOCUS","description":"Security Made Smart and Simple","publisher":{"@id":"https:\/\/nsfocusglobal.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/nsfocusglobal.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/nsfocusglobal.com\/#organization","name":"NSFOCUS","url":"https:\/\/nsfocusglobal.com\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/nsfocusglobal.com\/#\/schema\/logo\/image\/","url":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2024\/08\/logo-ns.png","contentUrl":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2024\/08\/logo-ns.png","width":248,"height":36,"caption":"NSFOCUS"},"image":{"@id":"https:\/\/nsfocusglobal.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/nsfocusglobal.com\/#\/schema\/person\/fd9ab61c9c77a81bbd870f725cc0c61d","name":"NSFOCUS","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/secure.gravatar.com\/avatar\/d3dc987908fc59791d261b1006d84eb931d15287261476b9384e690ed0c568de?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d3dc987908fc59791d261b1006d84eb931d15287261476b9384e690ed0c568de?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d3dc987908fc59791d261b1006d84eb931d15287261476b9384e690ed0c568de?s=96&d=mm&r=g","caption":"NSFOCUS"},"sameAs":["https:\/\/nsfocusglobal.com"],"url":"https:\/\/nsfocusglobal.com\/pt-br\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/posts\/33270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/comments?post=33270"}],"version-history":[{"count":1,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/posts\/33270\/revisions"}],"predecessor-version":[{"id":35508,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/posts\/33270\/revisions\/35508"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/media\/28664"}],"wp:attachment":[{"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/media?parent=33270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/categories?post=33270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/tags?post=33270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}