Skip to content

fix(security): finish dependency advisory remediation - #143

Merged
LeoStehlik merged 2 commits into
masterfrom
security/remaining-alerts-20261031
Oct 31, 2026
Merged

LeoStehlik merged 2 commits into
masterfrom
security/remaining-alerts-20261031

Conversation

@LeoStehlik

Copy link
Copy Markdown
Contributor

Description

Finish the remaining dependency security cleanup on master, including the previously local Vite fix. Updates Vite to 7.3.7, DOMPurify to 3.4.17, Happy DOM to 21.0.4, and patches newly audited Nodemailer, Zod, ip-address, body-parser, undici, fast-uri, @hono/node-server and qs advisories. Manifests, existing overrides and lockfile are kept consistent; no application behavior or deployment changes.

Supersedes dependency-only PRs #134, #135, #136 and #137 after merge. Targets remaining alerts #378–#388. Already merged fixes #139–#142 remain in the base.

Validation on Node 24.22.1 / pnpm 10.4.0:

  • Frozen-lockfile install.
  • Editor regression tests: 31 passed.
  • Server Jest: 29 suites / 168 tests passed.
  • Uncached Nx build: all 3 projects passed.
  • Actual application generateJSON/generateHTML helpers with real Happy DOM: paragraph/bold, heading/list and escaped text all round-trip correctly. Jest alone is insufficient because it mocks Happy DOM.
  • Independent read-only review of manifests, lock resolutions, engines and call sites; no concrete blocker found.

Known limits:

  • @tiptap/html 3.30.5 declares Happy DOM ^20.8.9. No active application imports of that package found; actual application helper tests pass with 21.0.4. Peer warning is retained, not suppressed.
  • Existing React Router/React and mapped-types/class-validator peer warnings are outside this change.
  • No deployment or browser acceptance test performed.
  • Deepmerge 4.3.1 has an unpatched low-severity advisory. Production html-to-text merges conversion options, not HTML; inspected MailService paths supply hardcoded {plainText:true}, with no user-controlled htmlToTextOptions. This is exposure assessment, not a dependency fix or exhaustive proof of unreachability. Do not dismiss the advisory as fixed.
  • GitHub alert state may lag the dependency graph. Withdrawn sprintf-js advisory #358 was separately dismissed as inaccurate using its recorded withdrawal date; no patch is claimed.

DCO sign-off

Both commits include Signed-off-by trailers matching the repository author's identity.

Bumps vite from 7.3.5 to 7.3.7 in apps/client (devDependency).
Addresses GHSA-587h-7wmj-h5pm (high), GHSA-r825-w8mm-5pxw,
GHSA-rq7h-c2jc-7f22 and GHSA-698v-4r3x-3vcv (medium) and
GHSA-9jrq-w75r-8gcw (low). All advisories affect the Vite dev
server (launch-editor handling, server.fs.allow, custom
middleware), not the production bundle.

Verified: nx build (3 projects, client built with vite 7.3.7),
editor-ext regressions (31/31).

Signed-off-by: Leo Stehlik <[email protected]>
@LeoStehlik
LeoStehlik merged commit 3bb81ec into master Oct 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant