Overrides for two advisories published 2026-12-01: ws below 8.23.0 (GHSA-37g9-w4hg-h9qr, high, via payload) and cross-spawn below 7.1.0 (GHSA-ghv9-86vm-4v8m, critical, Windows only, via cross-env / eslint) in the plugin and the reference site (and so the starter); doctor transitive-min, AGENT.md §4 item 12, setup and upgrade skills, changelog

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-12-01 23:54:52 +01:00
co-authored by Claude Opus 5.5
parent 713b28e79f
commit f38a8cc677
12 changed files with 93 additions and 33 deletions
+11 -3
View File
@@ -576,12 +576,20 @@ No abbreviations (`HeroSection`, not `HeroSec`). Do not create `lib/pages.ts`,
in CI and in Coolify (Nixpacks takes the major from `engines` / `.nvmrc` and the patch from its own release: check
`node -v` in the app's Terminal; below 22.23.5, update Coolify before moving to Payload 3.94). Run
`pnpm audit --prod`. The plugin's own dependencies are clean; what remains comes from Payload's tree, which only
the project's lockfile can fix. With `payload` **3.94.x** two packages are still pinned below a fix and need
`pnpm.overrides` next to the `@payloadcms/*` ones:
the project's lockfile can fix. With `payload` **3.94.x** four packages are still below a fix in a lockfile and
need `pnpm.overrides` next to the `@payloadcms/*` ones:
```json
"cross-spawn@>=7 <7.1.0": "^7.1.2",
"dompurify@<3.4.17": "^3.4.17",
"happy-dom@<21.0.4": "^21.0.4"
"happy-dom@<21.0.4": "^21.0.4",
"ws@>=8 <8.23.0": "^8.23.0"
```
`ws` comes from `payload` (`^8.16.0`): GHSA-37g9-w4hg-h9qr (high, memory exhaustion through unbounded automatic
pong responses, published 2026-12-01) is fixed in 8.23.0. Payload's range allows it, but a lockfile made earlier
keeps 8.21 / 8.22 until it is updated; the override lifts it in every lockfile and does nothing once it resolves
8.23 or later. `iapl-doctor` (`transitive-min`) warns while an older one is installed. `cross-spawn` comes with `cross-env` (the
site's scripts) and `eslint`: GHSA-ghv9-86vm-4v8m (critical, command injection when spawning batch files, Windows
only, published 2026-12-01) is fixed in 7.1.0; Coolify runs Linux, but `pnpm audit --prod` reports it as critical.
`happy-dom` comes from `@payloadcms/richtext-lexical` → `@lexical/headless` 0.50 (`^20.9.0`, still so in 3.94.1);
every 20.x has GHSA-c8p4-j97h-3vg8 (high, SSRF when parsing untrusted HTML, fixed in 21.0.0) and
GHSA-834v-8h66-3h79 (high, host code execution, fixed in 21.0.4). 21 is a major, but only