$ the-wire · showcase
Vue SSR denial of service, and test-utils fixes land
By RepoJournal · Filed · About Vue.js · Composed from the cited sources · methodology
vuejs/core carries an unresolved denial-of-service report against SSR attribute and prop name caches, while test-utils patches two regressions that only surface under real browsers and app contexts.
Denial of service in Vue SSR via attribute and prop name caches vuejs/core
The report titles itself "Denial of service in Vue SSR via attribute and prop name caches", naming the caches that key SSR attribute and prop lookups as the vector. No affected versions, patch release, or CVE id are given yet, so check your SSR exposure against the advisory once details land.
fix: render components under an app context without a component registry vuejs/test-utils
Since 2.6.0, a component rendered under an app context whose `components` is `null` throws in the stubs transformer: `TypeError: Cannot read properties of null (reading 'transition')`, keyed to the first configured stub, or `Invalid value used as weak map key` with no stubs at all. element-plus builds exactly that context for its table overflow tooltip, so the fix matters if you mount component...
fix: allow plain objects for typed event properties in trigger vuejs/test-utils
`trigger` forwards its options to the event constructor, and browsers reject plain objects for typed init members, so `wrapper.trigger('drop', { dataTransfer: { files: [file] } })` throws `Failed to construct 'DragEvent'` in real browsers including Vitest Browser Mode. The patch allows plain objects for `dataTransfer`, `clipboardData`, and `touches`/`changedTouches`/`targetTouches`, which is th...
fix: render components under an app context without a component registry (#3044) vuejs/test-utils
The follow-up commit closing out the null component registry fix, merging the app context change under a single lines-up-with-the-PR message.
chore(deps): update all non-major dependencies vuejs/test-utils
Renovate's routine non-major sweep, including `@vitest/browser-playwright` from 5.1.0 to 5.1.1, nothing here that changes behavior on its own.