# DOMPurify

DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:

Canonical page: https://www.reposhelf.co.uk/projects/github/cure53/dompurify.html

- Project ID: cure53/DOMPurify
- Source: GitHub
- Original project: https://github.com/cure53/DOMPurify
- Description attribution: project author metadata
- Categories: Other
- Technologies: Not recorded
- Licence: Apache-2.0
- Repository availability checked: 2026-11-20T16:31:37.156Z
- Demo page loaded: 2026-11-20T17:31:17.704Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG.

> It's also very simple to use and get started with. DOMPurify was started in February 2014 and, meanwhile, has reached version v3.4.17.

> DOMPurify runs as JavaScript and works in all modern browsers \(Safari \(10+\), Opera \(15+\), Edge, Firefox and Chrome - as well as almost anything else using Blink, Gecko or WebKit\). It doesn't break on MSIE or other legacy browsers. It simply does nothing.



## Author-documented requirements and audience

> DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/cure53/DOMPurify/blob/main/README.md

Extraction checked: 2026-11-01T16:23:15.476Z

Last recorded source update: 2026-11-19T16:17:35.000Z

Saved release: 3.4.17 — 2026-10-12T12:37:20.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=cure53%2FDOMPurify). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
