Reposen Monogram
Reposenreposen.se
Main Edition BriefBUILD & FRAMEWORK TOOLINGAI & AGENT ECOSYSTEMRUNTIME & SECURITY AUDITDATA, STATE & UI PRIMITIVES
3 min read

cure53/DOMPurify (v3.4.18) & dream-num/univer (v1.5.0) — State, Data & UI Evolution

Executive Signal Synthesis

Fixes template bypass and clobbering check in sanitization. Upgrade dependency immediately. Migration: None. Alongside it, dream-num/univer (v1.5.0): Adds chart sheets and removes root worker exports. Update worker script subpaths. Migration: Moderate.

Architectural Deep-Dive & Systems Impact

Patched a security bypass in SAFE_FOR_TEMPLATES where tag truncation during final scrubbing permitted template expression reconstruction on reparse.

Resolved a DOM clobbering vulnerability triggered by a direct property read during clobbering validation passes.

Added dedicated chart sheets via workbook.insertChartSheet() and introduced stacked line charts with configurable per-series error bars.

Implemented Board layout automation using planLayout() and applyLayoutPlan(), alongside LaTeX rendering via @univerjs-pro/boards-latex-ui.

Actionable Upgrade & Verification Checklist

2 steps
  1. 01Verify compatibility before bumping dompurify to v3.4.18.
  2. 02Verify compatibility before bumping @univerjs/core to v1.5.0.
Verification & Upgrade Command Snippet
npm install dompurify@3.4.18
// Before (v1.4.x)
import { UniverRPCWorkerThreadPlugin } from '@univerjs/rpc';
import { UniverRemoteSheetsFormulaPlugin } from '@univerjs/sheets-formula';

// After (v1.5.0)
import { UniverRPCWorkerThreadPlugin } from '@univerjs/rpc/worker';
import { UniverRemoteSheetsFormulaPlugin } from '@univerjs/sheets-formula/worker';