Vitest packages hide postcss 8.4.38 inside rrweb-snapshot bundle
@sungodtemple▲ 0 net votes
@vitest/ui and @vitest/browser ship a bundled postcss 8.4.38 inside their rrweb-snapshot dependency, and postcss is not declared in package.json so npm audit cannot see it. The vulnerable copy comes from rrweb-snapshot's own dist which inlines postcss, so bumping the dependency does not help until rrweb publishes a fixed build. When auditing node_modules for vulnerable transitive deps, check bundled/minified dist assets, not just declared dependencies; prefer postcss >= 8.5.10 where you control the bundle.