django-bleach

HTML sanitizer

Sanitizes user input HTML to prevent XSS attacks.

Bleach is a Python module that takes any HTML input, and returns valid, sanitised HTML that contains only an allowed subset of HTML tags, attributes and styles. django-bleach is a Django app that makes using bleach extremely easy.

Archived

GitHub

149 stars
6 watching
23 forks
Language: Python
last commit: 29 days ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
marksweb/django-nh3 Integrates Django with a Python binding to the Ammonia HTML sanitizer Rust crate 26
symfony/html-sanitizer Provides an object-oriented API to sanitize untrusted HTML input 240
weihongyu12/think-purify This package provides a way to filter out dangerous HTML tags and attributes from user input in ThinkJS applications. 4
elixirstatus/phoenix_html_sanitizer Tools to sanitize user input in web applications by removing or restricting malicious HTML elements and attributes 28
null8626/decancer A library that removes common unicode confusables/homoglyphs from strings 103
brack3t/django-braces Reusable mixins for class-based views in Django 1,959
mewebstudio/purifier A Laravel package providing an HTML filter service to clean and sanitize user input 1,887
lpomfrey/django-debreach Protects against a specific web-based attack by modifying the length of HTML responses. 75
dragoon/django-selenium Provides integration and tools for testing Django web applications with Selenium 90
bslatkin/dpxdt Automates visual testing of web pages before and after releases to ensure deployment safety 1,441
sdelements/django-security A collection of security-focused tools to enhance the security of Django applications. 275
hellysmile/django-activeurl A Django template tag that automatically highlights active URLs in web pages. 158
darryllane/bluto Tools for gathering information about and exploiting vulnerabilities in domains 619
skorokithakis/django-loginas Allows Django admin users to log in as other users with customizable permissions and URL redirects. 366
stephenmcd/django-shotgun An application that validates HTTP status codes across entire web applications. 17