chore(deps): update dependency dompurify to v3.4.1#5648
Conversation
Up to standards ✅🟢 Issues
|
There was a problem hiding this comment.
Dependency Update Review: DOMPurify 3.4.0 → 3.4.1
This is a Renovate-managed patch bump and looks correct.
What changed
docs/package.json: version string updateddocs/yarn.lock: version, resolved URL, SHA-1, and SHA-512 integrity hash all updated consistently
No C#/.NET source, engine, or test code is touched.
Security value
Despite being a patch release, v3.4.1 contains meaningful security hardening:
- On-handler stripping fix for HTML-spec-reserved custom element names (e.g.,
font-face) under permissiveCUSTOM_ELEMENT_HANDLING - Case-sensitivity gap in the
annotation-xmlcheck closed — mixed-case variants could previously bypass the custom-element exclusion in XHTML mode - DOM-clobbering robustness improvement in the
IN_PLACEroot-node check SANITIZE_NAMED_PROPSdouble-prefix bug fixed
Even in a docs context, keeping DOMPurify current is worthwhile given its role as an XSS mitigation library.
Verdict
Safe to merge. The lockfile integrity is consistent, the scope is limited to the docs directory, and the patch brings concrete security improvements with no breaking changes expected.
This PR contains the following updates:
3.4.0→3.4.1Release Notes
cure53/DOMPurify (dompurify)
v3.4.1: DOMPurify 3.4.1Compare Source
font-face,color-profile,missing-glyph,font-face-src,font-face-uri,font-face-format,font-face-name) under permissiveCUSTOM_ELEMENT_HANDLINGannotation-xmlcheck that allowed mixed-case variants to bypass the basic-custom-element exclusion in XHTML modeSANITIZE_NAMED_PROPSrepeatedly prefixing already-prefixedidandnamevalues on subsequent sanitizationIN_PLACEroot-node check to explicitly guard against non-stringnodeName(DOM-clobbering robustness)slotentry from the default HTML attribute allow-listSANITIZE_NAMED_PROPS, and a negative-control assertion ensuring the invariants actually fireSAFE_FOR_TEMPLATESgreedy scrub, hook-added attribute handling)3.xand2.xmaintenance branchesConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.