FICHA · AUR
python-html-sanitizer
Allowlist-based and very opinionated HTML sanitizer that can be used both for untrusted and trusted sources.
- Allowlist HTML sanitizer
- LIBRARY
- SECURITY
- Web
- Dependency only
· official+codex · reviewed · Jun 3, 2026 description in en
HTML from trusted or untrusted sources can be reduced to an opinionated allowlist. Web developers use this sanitizer before rendering user-provided markup or rich text. Sanitization policy must match the threat model, and outputs should be tested against XSS bypass cases.
Permissions
Permissions not analysed for this source yet.