OWASP.AntiSamy NuGet Package

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.




Got any OWASP.AntiSamy Question?





Info

Version: 1.2.1
Author(s): spassaro
Last Update: Friday, December 22, 2023
.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

2.3

avg-downloads-per-day

95

days-since-last-release

335