docs/plans/2026-04-24-js-video-url-parser-redos.md
Remove or neutralize js-video-url-parser CVE-2026-5986 exposure from @platejs/media.
js-video-url-parser has a ReDoS vulnerability, used by @platejs/media.packages/mediace-compound.pnpm-lock.yaml pins [email protected].packages/media/package.json declares js-video-url-parser.0.5.0 and 0.5.1; there is no safe bump target in the advisory context.task, planning-with-files, learnings-researcher, tdd, and changeset.docs/solutions; no direct js-video-url-parser solution found.bun test packages/media/src/lib/media-embed/parseVideoUrl.spec.ts failed at ~360ms against a 25-digit invalid t= value.../jsVideoUrlParser to cross-check upstream provider variants before finalizing tests.pnpm install removed [email protected] from pnpm-lock.yaml..changeset/media-video-url-parser-redos.md.bun test packages/media/src/lib/media-embed/parseVideoUrl.spec.ts.pnpm turbo build --filter=./packages/media.pnpm turbo typecheck --filter=./packages/media.pnpm lint:fix.pnpm check before compound doc creation.docs/solutions/security-issues/2026-04-24-media-video-url-parser-redos.md..github/workflows/changeset-auto-release.yml to keep the checkbox present on changeset PRs..github/workflows/release.yml to detect checked merged PRs and enable auto-merge on [Release] Version packages.bun test tooling/scripts/auto-release-pr.test.mjs, node --check, git diff --check, YAML parsing, pnpm lint:fix, and pnpm check.