diff --git a/packages/vite/CHANGELOG.md b/packages/vite/CHANGELOG.md
index 062b37eadc0321..c54670fc39919c 100644
--- a/packages/vite/CHANGELOG.md
+++ b/packages/vite/CHANGELOG.md
@@ -1,3 +1,10 @@
+## 5.1.8 (2024-09-19)
+
+* fix: avoid DOM Clobbering gadget in `getRelativeUrlFromDocument` (#18115) ([5caa08f](https://github.com/vitejs/vite/commit/5caa08f)), closes [#18115](https://github.com/vitejs/vite/issues/18115)
+* fix: fs raw query (#18112) ([03f1033](https://github.com/vitejs/vite/commit/03f1033)), closes [#18112](https://github.com/vitejs/vite/issues/18112)
+
+
+
## 5.1.7 (2024-03-24)
* fix: `fs.deny` with globs with directories (#16250) ([5a056dd](https://github.com/vitejs/vite/commit/5a056dd)), closes [#16250](https://github.com/vitejs/vite/issues/16250)
diff --git a/packages/vite/package.json b/packages/vite/package.json
index 062c30bf7998d1..4316c5906e3d00 100644
--- a/packages/vite/package.json
+++ b/packages/vite/package.json
@@ -1,6 +1,6 @@
{
"name": "vite",
- "version": "5.1.7",
+ "version": "5.1.8",
"type": "module",
"license": "MIT",
"author": "Evan You",