| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| DOMPurify-3.4.1.zip.asc | 2026-04-21 | 488 Bytes | |
| DOMPurify-3.4.1.tar.gz.asc | 2026-04-21 | 488 Bytes | |
| DOMPurify 3.4.1 source code.tar.gz | 2026-04-21 | 284.6 kB | |
| DOMPurify 3.4.1 source code.zip | 2026-04-21 | 320.4 kB | |
| README.md | 2026-04-21 | 1.2 kB | |
| Totals: 5 Items | 607.1 kB | 0 | |
- Fixed an issue with on-handler stripping for HTML-spec-reserved custom element names (
font-face,color-profile,missing-glyph,font-face-src,font-face-uri,font-face-format,font-face-name) under permissiveCUSTOM_ELEMENT_HANDLING - Fixed a case-sensitivity gap in the
annotation-xmlcheck that allowed mixed-case variants to bypass the basic-custom-element exclusion in XHTML mode - Fixed
SANITIZE_NAMED_PROPSrepeatedly prefixing already-prefixedidandnamevalues on subsequent sanitization - Fixed the
IN_PLACEroot-node check to explicitly guard against non-stringnodeName(DOM-clobbering robustness) - Removed a duplicate
slotentry from the default HTML attribute allow-list - Strengthened the fast-check fuzz harness with explicit XSS invariants, an expanded seed-payload corpus, an additional idempotence property for
SANITIZE_NAMED_PROPS, and a negative-control assertion ensuring the invariants actually fire - Added regression and pinning tests covering the above fixes and two accepted-behavior contracts (
SAFE_FOR_TEMPLATESgreedy scrub, hook-added attribute handling) - Extended CodeQL analysis to run on
3.xand2.xmaintenance branches