Skip to content

Commit bdd2d85

Browse files
committed
doc: Explain reasoning behind adding an entry into allowlist
1 parent 8f66a38 commit bdd2d85

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

audit-ci.jsonc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,14 @@
33
"$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json",
44
"low": true,
55
"allowlist": [
6-
// Transitive dependency in vitepress (dev-only, documentation tool).
7-
// Cannot be fixed until upstream vite updates esbuild. Excluded to avoid scan noise.
6+
// GHSA-67mh-4wv8-2f99: esbuild CORS vulnerability in VitePress dev server
7+
// Allows malicious websites to read localhost files while dev server runs.
8+
// We use dev server only in local development and we do a build (which is not affected)
9+
// when deploying. The issue is solved with esbuild v0.25.x that is a dependency of VitePress 2 alpha.
10+
// There seems to be no plans for updating VitePress 1.x to use a fixed esbuild version and also
11+
// there's still no stable VitePress 2 release, so we allowlist this issue for now.
12+
// TODO: Update to VitePress 2 once stable and remove this allowlist entry.
13+
// Update to VitePress 2 alpha is feasible without an impact of the build output.
814
"GHSA-67mh-4wv8-2f99|vitepress>vite>esbuild"
915
]
1016
}

0 commit comments

Comments
 (0)