Skip to content
Snippets Groups Projects

[Security] Bump vite from 6.2.3 to 6.2.4 in /webapp

Merged Dependabot requested to merge dependabot-npm_and_yarn-webapp-vite-6.2.4 into master

Bumps vite from 6.2.3 to 6.2.4. This update includes a security fix.

Vulnerabilities fixed

Vite has a server.fs.deny bypassed for inline and raw with ?import query

Summary

The contents of arbitrary files can be returned to the browser.

Impact

Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected.

Details

  • base64 encoded content of non-allowed files is exposed using ?inline&import (originally reported as ?import&?inline=1.wasm?init)
  • content of non-allowed files is exposed using ?raw?import

/@fs/ isn't needed to reproduce the issue for files inside the project root.

PoC

Original report (check details above for simplified cases):

The ?import&?inline=1.wasm?init ending allows attackers to read arbitrary files and returns the file content if it exists. Base64 decoding needs to be performed twice

</tr></table> 

... (truncated)

Patched versions: 4.5.11; 5.4.16; 6.0.13; 6.1.3; 6.2.4 Affected versions: = 6.2.0, < 6.2.4

Release notes

Sourced from vite's releases.

v6.2.4

Please refer to CHANGELOG.md for details.

Changelog

Sourced from vite's changelog.

6.2.4 (2025-03-31)

Commits


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Merge request pipeline #21575 passed

Merge request pipeline passed for 0841db71

Test summary results are being parsed

Merged by DependabotDependabot 3 weeks ago (Apr 1, 2025 2:05am UTC)

Loading

Pipeline #21577 passed

Pipeline passed for 0b77d534 on master

Deployed to produ‎ction‎ 3 weeks ago

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading