NuGet Package OWASP.AntiSamy

A library for performing fast, configurable cleansing of HTML coming from untrusted sources.

Another way of saying that could be: It's an API that helps you make sure that clients don't supply malicious cargo code in the HTML they supply for their profile, comments, etc., that get persisted on the server.

The term "malicious code" in regard to web applications usually mean "JavaScript." Mostly, Cascading Stylesheets are only considered malicious when they invoke JavaScript. However, there are many situations where "normal" HTML and CSS can be used in a malicious manner.

Info

Version: 1.0.2
Author(s): spassaro
Last Update: Wednesday, January 13, 2021
.NET Fiddle: Create the first Fiddle
Project Url: https://owasp.org/www-project-antisamy/
NuGet Url: https://www.nuget.org/packages/OWASP.AntiSamy


Install
Install-Package OWASP.AntiSamy
dotnet add package OWASP.AntiSamy
paket add OWASP.AntiSamy
OWASP.AntiSamy Download (Unzip the "nupkg" after downloading)

.NETStandard 2.0 net46 net5.0 netcoreapp3.1


Tags



STATS

must-have-score

3.8

avg-downloads-per-day

3

days-since-last-release

54