Libraries tagged by html sanitizer
symfony/html-sanitizer
79373118 Downloads
Provides an object-oriented API to sanitize untrusted HTML input for safe insertion into a document's DOM.
stevebauman/purify
8950699 Downloads
An HTML Purifier / Sanitizer for Laravel
typo3/html-sanitizer
13101988 Downloads
HTML sanitizer aiming to provide XSS-safe markup based on explicitly allowed tags, attributes and values.
tgalopin/html-sanitizer
6075189 Downloads
Sanitize untrustworthy HTML user input
tgalopin/html-sanitizer-bundle
1077438 Downloads
Symfony Bundle for https://github.com/tgalopin/html-sanitizer
phlib/xss-sanitizer
263321 Downloads
PHP XSS sanitizer tool for HTML
htmlawed/htmlawed
1532281 Downloads
Official htmLawed PHP library for HTML filtering
maniruzzaman/sanitizer
16252 Downloads
A php package that would sanitize your every input and HTML
itools/htmlsecuritycheck
10513 Downloads
Allowlist check for HTML that has to be printed unencoded, such as rich text from a WYSIWYG editor: rejects content that could run script, send the page's data to another host, or mislead the visitor, and never rewrites what it accepts
levmyshkin/dom_purify
153532 Downloads
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG
p3k/html-sanitizer
816 Downloads
An HTML sanitizer with good defaults
jeffersongoncalves/laravel-html-sanitizer
2253 Downloads
This Laravel package provides a simple wrapper around the Symfony HTML Sanitizer to safely clean untrusted HTML. It strips scripts, inline event handlers, and Alpine attributes while keeping the presentational subset (headings, lists, tables, code blocks, images, links) that rendered Markdown and READMEs need. The package is easy to install and configure, seamlessly integrating with your existing Laravel application.
snebes/html-sanitizer
19343 Downloads
Sanitize HTML5 strings
asignua/filament-rich-editor-toolkit
1011 Downloads
Ten independent plugins for the Filament 5 RichEditor (TipTap): PasteCleanPlugin removes Word and Google Docs junk (mso-* styles, fonts, colour spans), can upload the pictures of such a paste instead of dropping them (SSRF-guarded) and, in strict mode, cuts a paste down to the field's toolbar, LinkOptionsPlugin sets rel (nofollow, sponsored, ugc) and new-tab options on links, CustomAttributesPlugin keeps class, id, style and data-* attributes both in the browser and through the server sanitizer, EmbedPlugin allows safe iframe and video embeds from an allow-list, ImageUrlPlugin inserts an image by URL, ImagePropertiesPlugin adds alt text (with decorative images), captions and alignment to images, FullscreenPlugin adds a fullscreen mode, SourceCodePlugin adds an HTML source view, CharacterCountPlugin and the RichTextLength rule count and limit plain-text characters and words, and StickyToolbarPlugin keeps the toolbar visible on long content, even inside sections, tabs and repeaters.
osticket/laravel-htmlawed
1629 Downloads
A typed Laravel integration for the htmLawed HTML sanitizer