Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Tags
  3. Xss Prevention

Xss Prevention

20 projects

Showing 20 of 20 projects

DOMPurify
DOMPurifyJavaScript

A DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML, and SVG.

#dom-manipulation#xss#sanitizer
Stars17.5k
Forks873
Last commit6 days ago
jinja
jinjaPython

A fast, expressive, and extensible templating engine for Python that compiles templates to optimized code.

#jinja2#template-engine#jinja
Stars11.8k
Forks1.9k
Last commit1 year ago
js-xss
js-xssHTML

A JavaScript library that sanitizes untrusted HTML to prevent XSS attacks using a configurable whitelist.

#web-security#html-sanitization#input-validation
Stars5.3k
Forks634
Last commit3 days ago
SwiftSoup
SwiftSoupSwift

A pure Swift HTML parser with DOM, CSS, and jQuery-like methods for parsing, manipulating, and cleaning HTML across Apple platforms and Linux.

#dom-manipulation#parse#css-selectors
Stars5.1k
Forks408
Last commit6 days ago
sanitize-html
sanitize-htmlJavaScript

A fast HTML sanitizer that cleans user-submitted HTML while preserving whitelisted elements and attributes.

#user-input#web-security#html-sanitization
Stars4.1k
Forks371
Last commit7 months ago
bluemonday
bluemondayGo

A fast, configurable HTML sanitizer for Go that scrubs user-generated content of XSS attacks using an allowlist policy.

#sanitization#owasp#web-security
Stars3.7k
Forks204
Last commit1 year ago
hiccup
hiccupClojure

A Clojure library for representing HTML using vectors and maps, with automatic escaping and CSS-like shortcuts.

#functional-programming#hiccup#server-side-rendering
Stars2.9k
Forks179
Last commit1 year ago
HTML::Pipeline
HTML::PipelineRuby

A Ruby framework for defining and applying chainable content filters to transform user-provided text into safe HTML.

#user-generated-content#text-filters#ruby-gem
Stars2.3k
Forks385
Last commit4 months ago
Purifier
PurifierPHP

A Laravel service provider for HTMLPurifier, enabling secure HTML filtering and XSS prevention.

#web-security#laravel#htmlpurifier
Stars2.0k
Forks240
Last commit4 months ago
Zen Rails Security Checklist
Zen Rails Security ChecklistRuby

A community-driven checklist of security precautions for Ruby on Rails applications to minimize vulnerabilities.

#secure-coding#rails#owasp
Stars1.8k
Forks143
Last commit6 years ago
HtmlSanitizer
HtmlSanitizerC#

A .NET library for cleaning HTML fragments and documents to prevent XSS attacks using a robust HTML parser.

#web-security#xss#sanitizer
Stars1.7k
Forks229
Last commit1 day ago
xss-filters
xss-filtersJavaScript

Context-sensitive output filters for preventing XSS attacks with minimal encoding.

#web-security#output-sanitization#html5
Stars1.1k
Forks134
Last commit10 years ago
AntiXSS
AntiXSSPHP

A PHP library that sanitizes user input to prevent Cross-Site Scripting (XSS) attacks.

#data-cleaning#hacktoberfest#php-security
Stars712
Forks121
Last commit10 days ago
markupsafe
markupsafePython

A Python library that escapes HTML/XML characters to safely include untrusted strings in markup.

#web-security#template-safety#markupsafe
Stars699
Forks194
Last commit20 days ago
striptags
striptagsTypeScript

A TypeScript implementation of PHP's strip_tags for safely removing HTML tags from strings.

#strip-tags#xss#html-sanitization
Stars492
Forks51
Last commit4 years ago
Symfony HTML Sanitizer
Symfony HTML SanitizerPHP

An object-oriented PHP library for sanitizing untrusted HTML input to prevent XSS and other injection attacks.

#web-security#dom-sanitization#sanitizer
Stars285
Forks13
Last commit2 days ago
no-unsanitized
no-unsanitizedJavaScript

ESLint plugin that disallows unsafe innerHTML, outerHTML, and similar DOM manipulation methods without proper sanitization.

#dom-manipulation#sanitization#web-security
Stars249
Forks40
Last commit10 days ago
Any protection against dynamic module import?
Any protection against dynamic module import?HTML

A W3C specification for a Content Security Policy that helps prevent cross-site scripting and other code injection attacks.

#web-security#security-headers#w3c-specification
Stars225
Forks93
Last commit
cl-sanitize-html
cl-sanitize-htmlCommon Lisp

A Common Lisp library for OWASP-style HTML sanitization to safely render untrusted content like user-generated HTML or emails.

#owasp#web-security#user-generated-content
Stars10
Forks2
Last commit2 months ago
Sanitize HTML
Sanitize HTMLTypeScript

A Directus extension that sanitizes HTML inputs using the sanitize-html package to prevent XSS attacks.

#content-management#html-sanitization#npm-package
Stars8
Forks4
Last commit4 years ago

Related Tags

Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub
1 month ago
#Web Security13
#Security10
#Html Sanitization9
#Html8
#Security Library7
#Xss5
#Owasp4
#Input Validation4
#Dom Manipulation3
#Php3
#Nodejs3
#Template Engine3