dompurify
3.4.17 · 12 Oct 2026(MPL-2.0 OR Apache-2.0)42.1M / weekRepositorynpmAtom feed
156 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
3.4.17
12 Oct 2026Fixed an issue with
IN_PLACE,SAFE_FOR_TEMPLATESand shadow roots, thanks @manus-piFixed
IN_PLACEhandling of nodes that hooks or custom elements tough during sanitization, thanks @uttej-badwaneFixed the SMIL
attributeNameguard in XHTML mode, thanks @Koukyosyumei
Fixed an issue with
IN_PLACE,SAFE_FOR_TEMPLATESand shadow roots, thanks @manus-piFixed
IN_PLACEhandling of nodes that hooks or custom elements tough during sanitization, thanks @uttej-badwaneFixed the SMIL
attributeNameguard in XHTML mode, thanks @KoukyosyumeiHardened several smaller edge cases (namespaces, literal-text elements,
isValidAttribute()), thanks @artiphishellAdded a purify-edge test runner as a compatibility check, thanks @anzal1
Clarified the
IN_PLACEdocumentation in the README about possible risksUpdated several dependencies
3.4.16
23 Sep 2026Fixed a problem with
IN_PLACEnode removal when working with hooks, thanks @manus-piFixed a problem with
IN_PLACEsanitization and raw-text roots, thanks @h-t-mFixed a problem with ESM default exports landing in CommonJS declarations, thanks @ssi02014
Fixed a problem with
IN_PLACEnode removal when working with hooks, thanks @manus-piFixed a problem with
IN_PLACEsanitization and raw-text roots, thanks @h-t-mFixed a problem with ESM default exports landing in CommonJS declarations, thanks @ssi02014
Migrated from
rolluptorolldownbecause performance, thanks @ssi02014Bumped several dependencies where possible
3.4.15
6 Sep 2026Added better clobbering hardening when XML content is involved, thanks @gnyselcuk
Added several smaller hardening and edge-case improvements, thanks @leechristensen
Bumped several dependencies where possible
3.4.14
19 Aug 2026Fixed an issue with possible bypasses when risky tags are allow-listed, thanks @AlirezaRouhbakhsh
Fixed a couple of edge cases with mixed document contexts, thanks @fishjojo1
Added the SVG
pointer-eventsandvector-effectpresentation attributes to the allow-list, thanks @Jaybhade
Fixed an issue with possible bypasses when risky tags are allow-listed, thanks @AlirezaRouhbakhsh
Fixed a couple of edge cases with mixed document contexts, thanks @fishjojo1
Added the SVG
pointer-eventsandvector-effectpresentation attributes to the allow-list, thanks @JaybhadeConducted another refactoring run, removed dead branches and duplicated logic, flattened attribute validation
Updated the documentation in several spots, README, wiki, etc., thanks @Akokonunes
Updated several development dependencies and CI workflow actions
3.4.13
3 Aug 2026Fixed an issue with hook removal during
IN_PLACEsanitization, thanks @koyokrFixed an issue with hooks potentially bypassing the clone guard, thanks @AkshayjainG
Fixed an issue with DOM clobbering via
ownerDocumentduringIN_PLACE, thanks @AkshayjainG
Fixed an issue with hook removal during
IN_PLACEsanitization, thanks @koyokrFixed an issue with hooks potentially bypassing the clone guard, thanks @AkshayjainG
Fixed an issue with DOM clobbering via
ownerDocumentduringIN_PLACE, thanks @AkshayjainGBumped several dependencies where possible
3.4.12
11 Jul 2026Reading the note…
3.4.11
17 Jun 2026Reading the note…
3.4.10
12 Jun 2026Reading the note…
3.4.9
10 Jun 2026Reading the note…
3.4.8
3 Jun 2026Reading the note…
3.4.7
27 May 2026Reading the note…
3.4.6
26 May 2026Reading the note…
3.4.5
18 May 2026Reading the note…
3.4.4
17 May 2026Reading the note…
3.4.3
13 May 2026Reading the note…
3.4.2
30 Apr 2026Reading the note…
3.4.1
21 Apr 2026Reading the note…
3.4.0
14 Apr 2026Reading the note…
3.3.3
11 Mar 2026Reading the note…
3.3.2
5 Mar 2026Reading the note…
3.3.1
8 Dec 2025Reading the note…
3.3.0
13 Oct 2025Reading the note…
3.2.7
17 Sep 2025Reading the note…
3.2.6
19 May 2025Reading the note…
3.2.5
3 Apr 2025Reading the note…
3.2.4
30 Jan 2025Reading the note…
3.2.3
9 Dec 2024Reading the note…
3.2.2
29 Nov 2024Reading the note…
3.2.1
20 Nov 2024Reading the note…
3.2.0
11 Nov 2024Reading the note…
3.1.7
26 Sep 2024Reading the note…
3.1.6
5 Jul 2024Reading the note…
3.1.5
31 May 2024Reading the note…
3.1.4
20 May 2024Reading the note…
3.1.3
11 May 2024Reading the note…
3.1.2
30 Apr 2024Reading the note…
3.1.1
26 Apr 2024Reading the note…
3.1.0
7 Apr 2024Reading the note…
3.0.11
21 Mar 2024Reading the note…
3.0.10
19 Mar 2024Reading the note…
3.0.9
20 Feb 2024Reading the note…
3.0.8
5 Jan 2024Reading the note…
3.0.7
4 Jan 2024Reading the note…
3.0.6
28 Sep 2023Reading the note…
3.0.5
11 Jul 2023Reading the note…
3.0.4
29 Jun 2023Reading the note…
3.0.3
6 May 2023Reading the note…
3.0.2
14 Apr 2023Reading the note…
3.0.1
1 Mar 2023Reading the note…
3.0.0
13 Feb 2023Reading the note…