HTML sanitization: Difference between revisions

Content deleted Content added
m Filled in 1 bare reference(s) with reFill 2
Adding local short description: "Process of removing undesirable parts of an HTML document", overriding Wikidata description "process of examining an HTML document and producing a new HTML document that preserves only whatever tags are designated "safe" and desired" (Shortdesc helper)
Line 1:
{{Short description|Process of removing undesirable parts of an HTML document}}
{{Refimprove|date=December 2009}}
In [[data sanitization]], '''HTML sanitization''' is the process of examining an [[HTML]] document and producing a new HTML document that preserves only whatever tags are designated "safe" and desired. HTML sanitization can be used to protect against attacks such as [[cross-site scripting]] (XSS) by sanitizing any HTML code submitted by a user.