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
202 forks
Language: C#
last commit: about 2 years ago
Linked from 3 awesome lists

htmlsanitizerxss

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
symfony/html-sanitizerProvides an object-oriented API to sanitize untrusted HTML input241
elixirstatus/phoenix_html_sanitizerTools to sanitize user input in web applications by removing or restricting malicious HTML elements and attributes28
rrrene/html_sanitize_exA tool that sanitizes HTML to protect against cross-site scripting (XSS) attacks by parsing and filtering the input string274
mewebstudio/purifierA Laravel package providing an HTML filter service to clean and sanitize user input1,888
darylldoyle/svg-sanitizerA PHP library used to sanitize and clean SVG/XML data by removing unwanted tags, attributes, and references.473
syntax-tree/hast-util-sanitizeUtility to make tree-based data safe by removing dangerous content50
xemlock/htmlpurifier-html5A library that provides HTML5 element definitions and sanitization rules for the popular HTML Purifier library101
asaiken/dom-based-xss-finderTools for identifying and exploiting vulnerabilities in DOM-based cross-site scripting attacks.71
weihongyu12/think-purifyThis package provides a way to filter out dangerous HTML tags and attributes from user input in ThinkJS applications.4
grahamcampbell/laravel-securityA wrapper of anti-XSS functionality for Laravel, providing a secure way to clean user input.240
licitdev/directus-extension-sanitize-htmlAn extension that sanitizes user-provided HTML input data to prevent XSS attacks7
mozilla/eslint-plugin-no-unsanitizedA custom ESLint rule to disallow unsafe innerHTML and similar calls in JavaScript code.232
marksweb/django-bleachSanitizes user input HTML to prevent XSS attacks.149
null8626/decancerA library that removes common unicode confusables/homoglyphs from strings105
marksweb/django-nh3Integrates Django with a Python binding to the Ammonia HTML sanitizer Rust crate29