Git Stars Git Stars

#xss-prevention Repositories

Discover 10 active open source GitHub repositories tagged with #xss-prevention, accumulating 15,924 total stars (averaging 1,592 stars per project). Leading this topic is leizongmin/js-xss with 5,311 stars.

10
Total Repositories
15,924
Total Stars
1,592
Avg Stars/Repo
1
leizongmin/js-xss

Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist

leizongmin
โญ 5,311 HTML ๐Ÿ‘ค leizongmin User ๐Ÿ• Updated 2026-10-24 ๐Ÿ“… Created 2012-09-18
2
apostrophecms/sanitize-html

Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis. Built on htmlparser2 for speed and tolerance

apostrophecms
โญ 4,143 JavaScript ๐Ÿ‘ค apostrophecms Organization ๐Ÿ• Updated 2026-02-26 ๐Ÿ“… Created 2013-09-09
3
pd4d10/bytemd

ByteMD v1 repository

pd4d10
โญ 1,341 TypeScript ๐Ÿ‘ค pd4d10 User ๐Ÿ• Updated 2025-02-12 ๐Ÿ“… Created 2023-10-04
4
OWASP/java-html-sanitizer

Takes third-party HTML and produces HTML that is safe to embed in your web application. Fast and easy to configure.

OWASP
โญ 957 Java ๐Ÿ‘ค OWASP Organization ๐Ÿ• Updated 2026-11-14 ๐Ÿ“… Created 2015-04-27
5
GoogleCloudPlatform/flask-talisman

HTTP security headers for Flask

GoogleCloudPlatform
โญ 936 Python ๐Ÿ‘ค GoogleCloudPlatform Organization ๐Ÿ• Updated 2024-05-01 ๐Ÿ“… Created 2015-11-12
6
Shopify/erb_lint

Lint your ERB or HTML files

Shopify
โญ 750 Ruby ๐Ÿ‘ค Shopify Organization ๐Ÿ• Updated 2026-04-20 ๐Ÿ“… Created 2016-05-25
7
google/closure-templates

A client- and server-side templating system that helps you dynamically build reusable HTML and UI elements

google
โญ 703 Java ๐Ÿ‘ค google Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2014-04-16
8
ncase/nutshell

Make expandable explanations!

ncase
โญ 627 JavaScript ๐Ÿ‘ค ncase User ๐Ÿ• Updated 2025-12-28 ๐Ÿ“… Created 2022-04-06
9
Arcanum-Sec/sec-context

AI Code Security Anti-Patterns distilled from 150+ sources to help LLMs generate safer code.

Arcanum-Sec
โญ 605 HTML ๐Ÿ‘ค Arcanum-Sec Organization ๐Ÿ• Updated 2026-02-24 ๐Ÿ“… Created 2026-01-19
10
dropbox/pyxl

A Python extension for writing structured and reusable inline HTML.

dropbox
โญ 552 Python ๐Ÿ‘ค dropbox Organization ๐Ÿ• Updated 2025-01-14 ๐Ÿ“… Created 2013-02-24

Frequently Asked Questions

1

What is the most popular #xss-prevention repository on GitHub?

The top ranked open source #xss-prevention project on GitHub is leizongmin/js-xss with 5,311 stars. Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist

2

Which programming languages are most used in #xss-prevention repositories?

Among the top ranked #xss-prevention projects on GitHub, the most common programming languages are HTML, JavaScript, Java, Python.

3

How is the #xss-prevention repository ranking calculated?

We track 10 active open source repositories tagged with #xss-prevention (500+ stars), totaling 15,924 stars with an average of 1,592 stars per repository. Rankings update daily from the GitHub API.