Skip to content

fix(deps): take the patched postcss and dompurify - #1206

Merged
geodro merged 1 commit into
mainfrom
fix/dependabot-npm-advisories
Jul 28, 2026
Merged

fix(deps): take the patched postcss and dompurify#1206
geodro merged 1 commit into
mainfrom
fix/dependabot-npm-advisories

Conversation

@geodro

@geodro geodro commented Jul 28, 2026

Copy link
Copy Markdown
Member

Closes #1205

postcss moves to 8.5.24 in both the dashboard and the docs site, clearing the path traversal in its previous-source-map auto loading. dompurify moves to 3.4.12 in the dashboard, clearing the custom element bypass of afterSanitizeElements, which reaches us through the Monaco editor behind the tinker and config editors.

Both versions were already inside the ranges package.json declares, so nothing but the two lockfiles changes. npm audit reports no vulnerabilities in either workspace afterwards.

Worth one note on the verification. The dashboard suite failed 18 tests on the first run after the update, which looked like dompurify changing sanitisation. It was not: the machine was at a load average of 163 and every failure was a 32 second timeout. On a settled machine the same suite passes 982 of 982 in ten seconds. The docs site builds and the Go gate is unchanged.

postcss carries a path traversal in its previous-source-map auto loading, where
a sourceMappingURL can reach an arbitrary .map file, and it is pulled in by both
the dashboard's build and the docs site. dompurify allows a custom element to
bypass afterSanitizeElements, and reaches the dashboard through the Monaco
editor the tinker and config editors use.

Both were already permitted by the declared ranges, so only the lockfiles move.
@geodro
geodro requested a review from a team as a code owner July 28, 2026 09:59
@geodro
geodro merged commit a9b2c00 into main Jul 28, 2026
3 checks passed
@geodro
geodro deleted the fix/dependabot-npm-advisories branch July 28, 2026 10:03
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.

Clear the open Dependabot advisories before the next release

1 participant