Skip to content

chore(deps): bump the postcss override to 8.5.29 - #5674

Merged
Jocs merged 3 commits into
developfrom
chore/upgrade-dependencies
Oct 9, 2026
Merged

Jocs merged 3 commits into
developfrom
chore/upgrade-dependencies

Conversation

@Jocs

@Jocs Jocs commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Related to #5610

Summary

Bump the pinned postcss override 8.5.15 → 8.5.29, the latest 8.5.x patch.
This closes the postcss finding from #5610: CVE-2026-69153 is fixed in 8.5.23
(8.5.19 was an incomplete fix), and 8.5.15 also carried CVE-2026-73646 (fixed
in 8.5.18).

Electron stays at 42.1.0

The other half of #5610 is Electron 42.1.0 / CVE-2026-70606 (fixed in 42.5.1).
Bumping Electron is deliberately not done here: on the Linux CI runner every
bump that was tried — 42.11.12 and 44.7.0 — makes the desktop e2e run hang.
Editor windows never mount (waitForSelector('.editor-component') times out)
and the app does not exit on close, so each failure also costs a 30s
worker-teardown timeout:

Electron result
42.1.0 (develop) green, ~11m
42.11.12 21 failed / 324 passed / 26.8m
44.7.0 32 failed / 292 passed / 34.1m

The same suite is green locally on macOS, and the failing assertion only
requires the node to be attached to the DOM (not visible), so this is not a
CSS/postcss effect — it points at the newer Electron/Chromium runtime under
Xvfb and needs a separate fix. So this PR keeps the dependency it can safely
land and leaves Electron for a follow-up.

Type of change

  • Bug fix (non-breaking, fixes an issue)
  • New feature (non-breaking, adds functionality)
  • Breaking change (causes existing functionality to change)
  • Documentation update

Test plan

  • New tests added (or explain why not needed) — none; this is a dependency
    version change only.
  • Manually tested on: macOS (plus CI)

Verified locally on macOS arm64 / Node 25:

  • pnpm install
  • pnpm run typecheck
  • pnpm run lint — 0 errors
  • pnpm run validate-licenses
  • pnpm run test — 1068 passed
  • pnpm run build:unpack
  • playwright test test/e2e/media-ipc.spec.ts test/e2e/launch.spec.ts — 5 passed

Notes for reviewers [optional]

  • Scope is now postcss-only; Electron is untouched at ~42.1.0.
  • The lockfile diff is limited to postcss and its own transitive deps.
  • Unrelated: packages/muyajs/ is untouched.

@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Website preview ready: https://pr-5674-marktext-website.ransixi.workers.dev

Built from 4ad64b498b2435f8b01f6e453c1f8b7a1abd5ea3 · Worker: marktext-website · Version: b558f64b-8289-4776-9ad5-77a1899643a7 · Alias: pr-5674

@Jocs
Jocs force-pushed the chore/upgrade-dependencies branch 3 times, most recently from 638309d to 8a53d83 Compare October 9, 2026 00:53
@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Build artifacts for PR #5674:

Run: https://github.com/marktext/marktext/actions/runs/37914781002

Artifact Size Link
marktext-windows-arm64 277.9 MB Download
marktext-windows-x64 286.1 MB Download
marktext-macos-x64 298.8 MB Download
marktext-linux 634.6 MB Download
marktext-macos-arm64 285.5 MB Download

Bump Electron ~42.1.0 -> ~44.7.0 across the workspace. Electron 44
closes the first-party advisories still open on 42.1.0: CVE-2026-70606
(fixed 42.5.1), CVE-2026-102673 (fixed 42.5.2) and CVE-2026-102674/
102675/102676 (fixed 42.9.2). Bump the postcss override 8.5.15 ->
8.5.29; CVE-2026-69153 is fixed in 8.5.23 (not 8.5.19) and 8.5.15 also
carried CVE-2026-73646.

Electron 44 rearchitected the clipboard module into an async, W3C-style
API (read/write/readText/has), dropping the synchronous readImage,
writeImage, readBuffer(format) and read(format) accessors, so the
main-process clipboard handlers and the two e2e clipboard assertions are
migrated to it. readClipboardFilePath replaces the per-platform raw
format parsing (NSFilenamesPboardType on macOS, FileNameW on Windows)
with the cross-platform text/uri-list format.

@electron/rebuild is bumped 4.0.4 -> 4.2.1 and node-abi is forced to
>=4.34.0, the first release that knows Electron 44's ABI (149).

No other workspace dependency version changes.
@Jocs
Jocs force-pushed the chore/upgrade-dependencies branch from 5914aba to cafb6f0 Compare October 9, 2026 08:41
@Jocs Jocs changed the title chore(deps): upgrade workspace dependencies and fix locked CVEs chore(deps): upgrade Electron to 44.7.0 and postcss to 8.5.29 Oct 9, 2026
Hold Electron on the 42 line: 42.1.0 -> 42.11.12 closes every #5610
advisory without jumping to 44. The relevant fixes are CVE-2026-70606
(42.5.1), CVE-2026-102673 (42.5.2) and CVE-2026-102674/102675/102676
(42.9.2). Electron 44 was not landed: on the Linux CI runner its e2e run
hangs, with editor windows that never mount and an app that does not
exit on close (32 failed / 292 passed / 34m), while the same suite is
green locally on macOS.

Bump the postcss override 8.5.15 -> 8.5.29. CVE-2026-69153 is fixed in
8.5.23 (8.5.19 was an incomplete fix) and 8.5.15 also carried
CVE-2026-73646.

No other workspace dependency changes.
@Jocs Jocs changed the title chore(deps): upgrade Electron to 44.7.0 and postcss to 8.5.29 chore(deps): patch Electron to 42.11.12 and postcss to 8.5.29 Oct 9, 2026
Raise the pinned postcss 8.5.15 -> 8.5.29, closing the postcss half of
#5610: CVE-2026-69153 is fixed in 8.5.23 (8.5.19 was an incomplete fix)
and 8.5.15 also carried CVE-2026-73646 (fixed in 8.5.18).

Electron is left at 42.1.0. Bumping it - to 42.11.12 or 44.7.0 - makes
the desktop e2e run hang on the Linux CI runner (editor windows never
mount, and the app does not exit on close: 21-32 failed, 27-34m), while
the same suite is green locally on macOS. That is out of scope for this
change and tracked separately.
@Jocs Jocs changed the title chore(deps): patch Electron to 42.11.12 and postcss to 8.5.29 chore(deps): bump the postcss override to 8.5.29 Oct 9, 2026
@Jocs
Jocs merged commit c064b90 into develop Oct 9, 2026
19 checks passed
@Jocs
Jocs deleted the chore/upgrade-dependencies branch October 23, 2026 08:32
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