{"schemaVersion":3,"id":"CVE-2025-58752","aliases":["CGA-234j-9f66-ccqx","CGA-34cf-7rqw-86cp","CGA-3xf5-qp7j-v2vp","CGA-5gqr-xpjx-vvrr","CGA-j28f-5jhh-5cpm","CGA-jxx6-83xf-5cwp","CGA-qvxw-4cqv-chqh","CGA-r8p8-mp92-v67j","CGA-xfgw-8qjj-fwjr","GHSA-jqfw-vq24-v9c3","CGA-2xfq-w8x5-w5wc","CGA-36qx-w62c-8827","CGA-3r59-f8qj-5x77","CGA-4xvh-v76f-xfg4","CGA-57qr-cjq6-cmgh","CGA-5h6m-4h54-wr9x","CGA-5ph8-h5jh-gxp6","CGA-9jmm-6936-qqj4","CGA-h77v-j8h9-568g","CGA-mgp3-w37q-q664","CGA-mrf5-h3g9-xx68","CGA-vc78-6x32-qg3x","CGA-vf9c-rg36-j6r2","CGA-vvw4-mr4r-2pmg","CGA-w7px-cvxc-4jfq","CGA-wh44-mcmw-f9ff"],"status":"published","duplicateOf":null,"title":null,"description":"Vite is a frontend tooling framework for JavaScript. Prior to versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20, any HTML files on the machine were served regardless of the `server.fs` settings. Only apps that explicitly expose the Vite dev server to the network (using --host or server.host config option) and use `appType: 'spa'` (default) or `appType: 'mpa'` are affected. This vulnerability also affects the preview server. The preview server allowed HTML files not under the output directory to be served. Versions 7.1.5, 7.0.7, 6.3.6, and 5.4.20 fix the issue.","dates":{"published":"2025-09-08T22:56:58.039Z","modified":"2025-09-09T13:29:30.868Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00608,"percentile":0.48131,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00608},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00608,"percentile":0.48131}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00608,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00608,"percentile":0.48131}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_VITEJS_VITE","name":"Vite","source":"github","url":"https://github.com/vitejs/vite/issues/8498","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-23","name":"Relative Path Traversal","description":"The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as \"..\" that can resolve to a location that is outside of that directory.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/23.html"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-284","name":"Improper Access Control","description":"The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/284.html"}],"affected":[{"vendor":"chainguard","product":"gitlab-rails-ce-18.1","name":"gitlab-rails-ce-18.1","label":"gitlab-rails-ce-18.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/gitlab-rails-ce-18.1","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"gitlab-rails-ce-fips-18.1","name":"gitlab-rails-ce-fips-18.1","label":"gitlab-rails-ce-fips-18.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/gitlab-rails-ce-fips-18.1","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-2-worker","name":"langfuse-2-worker","label":"langfuse-2-worker","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-2-worker","purlType":"apk","versions":[{"text":"< 2.95.12-r26","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.95.12-r26","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-3-compat","name":"langfuse-3-compat","label":"langfuse-3-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-3-compat","purlType":"apk","versions":[{"text":"< 3.225.7-r6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.225.7-r6","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-3-worker","name":"langfuse-3-worker","label":"langfuse-3-worker","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-3-worker","purlType":"apk","versions":[{"text":"< 3.179.1-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.179.1-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-fips-2-worker","name":"langfuse-fips-2-worker","label":"langfuse-fips-2-worker","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-fips-2-worker","purlType":"apk","versions":[{"text":"< 2.95.12-r28","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.95.12-r28","eol":null,"hubHref":null},{"vendor":"chainguard","product":"langfuse-fips-3-worker","name":"langfuse-fips-3-worker","label":"langfuse-fips-3-worker","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/langfuse-fips-3-worker","purlType":"apk","versions":[{"text":"< 3.179.1-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.179.1-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vitess-21","name":"vitess-21","label":"vitess-21","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vitess-21","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vitess-22","name":"vitess-22","label":"vitess-22","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vitess-22","purlType":"apk","versions":[{"text":"< 22.0.2-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 22.0.1-r7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 22.0.2-r0 | < 22.0.1-r7","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vitess-23","name":"vitess-23","label":"vitess-23","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vitess-23","purlType":"apk","versions":[{"text":"< 23.0.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 23.0.0-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vitess-23-binaries","name":"vitess-23-binaries","label":"vitess-23-binaries","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vitess-23-binaries","purlType":"apk","versions":[{"text":"< 23.0.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 23.0.0-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vitess-23-compat","name":"vitess-23-compat","label":"vitess-23-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vitess-23-compat","purlType":"apk","versions":[{"text":"< 23.0.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 23.0.0-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"langfuse-3-compat","name":"langfuse-3-compat","label":"langfuse-3-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/langfuse-3-compat","purlType":"apk","versions":[{"text":"< 3.225.7-r6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.225.7-r6","eol":null,"hubHref":null},{"vendor":"wolfi","product":"langfuse-3-worker","name":"langfuse-3-worker","label":"langfuse-3-worker","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/langfuse-3-worker","purlType":"apk","versions":[{"text":"< 3.179.1-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.179.1-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"vitess-23","name":"vitess-23","label":"vitess-23","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/vitess-23","purlType":"apk","versions":[{"text":"< 23.0.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 23.0.0-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"vitess-23-binaries","name":"vitess-23-binaries","label":"vitess-23-binaries","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/vitess-23-binaries","purlType":"apk","versions":[{"text":"< 23.0.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 23.0.0-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"vitess-23-compat","name":"vitess-23-compat","label":"vitess-23-compat","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/vitess-23-compat","purlType":"apk","versions":[{"text":"< 23.0.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 23.0.0-r2","eol":null,"hubHref":null},{"vendor":"Npm","product":"vite","name":"vite","label":"vite","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/vite","purlType":"npm","versions":[{"text":"≥ 7.1.0, < 7.1.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.0.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.3.6","noFixRecorded":false,"fixedIn":null},{"text":"< 5.4.20","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.1.0, < 7.1.5 | ≥ 7.0.0, < 7.0.7 | ≥ 6.0.0, < 6.3.6 | < 5.4.20","eol":null,"hubHref":null},{"vendor":"vitejs","product":"vite","name":"vite","label":"vite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.4.20","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.3.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.0.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.1.0, < 7.1.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.4.20 | ≥ 6.0.0, < 6.3.6 | ≥ 7.0.0, < 7.0.7 | ≥ 7.1.0, < 7.1.5","eol":null,"hubHref":"/vendor/vitejs/vite"}],"affectedCount":19,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/vitejs/vite/security/advisories/GHSA-jqfw-vq24-v9c3","label":"github.com/vitejs/vite/security/advisories/GHSA-jqfw-vq24-v9c3","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Exploit","Third Party Advisory"]},{"url":"https://github.com/vitejs/vite/commit/0ab19ea9fcb66f544328f442cf6e70f7c0528d5f","label":"github.com/vitejs/vite/commit/0ab19ea9fcb66f544328f442cf6e70f7c0528d5f","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/vitejs/vite/commit/14015d794f69accba68798bd0e15135bc51c9c1e","label":"github.com/vitejs/vite/commit/14015d794f69accba68798bd0e15135bc51c9c1e","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/vitejs/vite/commit/482000f57f56fe6ff2e905305100cfe03043ddea","label":"github.com/vitejs/vite/commit/482000f57f56fe6ff2e905305100cfe03043ddea","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/vitejs/vite/commit/6f01ff4fe072bcfcd4e2a84811772b818cd51fe6","label":"github.com/vitejs/vite/commit/6f01ff4fe072bcfcd4e2a84811772b818cd51fe6","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58752.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58752.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58752","label":"nvd.nist.gov/vuln/detail/CVE-2025-58752","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/vitejs/vite","label":"github.com/vitejs/vite","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/vitejs/vite/blob/v7.1.5/packages/vite/CHANGELOG.md","label":"github.com/vitejs/vite/blob/v7.1.5/packages/vite/CHANGELOG.md","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-546F-9XQ8-MH5F","CGA-GPGG-CMJX-QF8J"]},"timeline":[{"kind":"published","date":"2025-09-08T22:56:58.039Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-09-09T13:29:30.868Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T23:59:13.575Z","stale":false,"partial":false}}