HtmlSanitizer

HTML sanitizer

A library that cleans HTML to prevent cross-site scripting attacks

Cleans HTML to avoid XSS attacks

GitHub

2k stars
55 watching
199 forks
Language: C#
last commit: 4 months ago
Linked from 3 awesome lists

htmlsanitizerxss

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
symfony/html-sanitizer Provides an object-oriented API to sanitize untrusted HTML input 238
elixirstatus/phoenix_html_sanitizer Tools to sanitize user input in web applications by removing or restricting malicious HTML elements and attributes 27
rrrene/html_sanitize_ex A tool that sanitizes HTML to protect against cross-site scripting (XSS) attacks by parsing and filtering the input string 273
mewebstudio/purifier A Laravel package providing an HTML filter service to clean and sanitize user input 1,882
darylldoyle/svg-sanitizer A PHP library used to sanitize and clean SVG/XML data by removing unwanted tags, attributes, and references. 467
syntax-tree/hast-util-sanitize Utility to make tree-based data safe by removing dangerous content 50
xemlock/htmlpurifier-html5 A library that provides HTML5 element definitions and sanitization rules for the popular HTML Purifier library 101
asaiken/dom-based-xss-finder Tools for identifying and exploiting vulnerabilities in DOM-based cross-site scripting attacks. 70
weihongyu12/think-purify This package provides a way to filter out dangerous HTML tags and attributes from user input in ThinkJS applications. 4
grahamcampbell/laravel-security A wrapper of anti-XSS functionality for Laravel, providing a secure way to clean user input. 239
licitdev/directus-extension-sanitize-html An extension that sanitizes user-provided HTML input data to prevent XSS attacks 8
mozilla/eslint-plugin-no-unsanitized A custom ESLint rule to disallow unsafe innerHTML and similar calls in JavaScript code. 231
marksweb/django-bleach Sanitizes user input HTML to prevent XSS attacks. 149
null8626/decancer A library that removes common unicode confusables/homoglyphs from strings 102
marksweb/django-nh3 Integrates Django with a Python binding to the Ammonia HTML sanitizer Rust crate 26