e01.org

HTML sanitization

In data sanitization, HTML sanitization is the process of examining an HTML document and producing a new HTML document that preserves only whatever tags and attributes 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.

In data sanitization, HTML sanitization is the process of examining an HTML document and producing a new HTML document that preserves only whatever tags and attributes 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.

References

  1. ^ "strip_tags" . PHP.NET. Wikipedia revision 1357422320, retrieved 2026-11-20 · 1795129200.0
  2. ^ "HTML Purifier - Filter your HTML the standards-compliant way!" . htmlpurifier.org . Wikipedia revision 1357422320, retrieved 2026-11-20 · 1795129200.0
  3. ^ "OWASP Java HTML Sanitizer" . Wikipedia revision 1357422320, retrieved 2026-11-20 · 1795129200.0
  4. ^ "HTML Agility Pack - Home" . Archived from the original on 2013-01-01 . Retrieved 2013-01-04 . Wikipedia revision 1357422320, retrieved 2026-11-20 · 1357254000.0
  5. ^ "Whitelist santize with HtmlAgilityPack" . 14 June 2011. Wikipedia revision 1357422320, retrieved 2026-11-20 · 1795129200.0
  6. ^ Ganss, Michael (5 December 2023). "HtmlSanitizer" . Retrieved 7 December 2023 . Wikipedia revision 1357422320, retrieved 2026-11-20 · 1795129200.0
  7. ^ "JS HTML Sanitizer" . GitHub . 14 October 2021. Wikipedia revision 1357422320, retrieved 2026-11-20 · 1795129200.0
  8. ^ a b "HtmlRuleSanitizer" . GitHub . 13 August 2021. Wikipedia revision 1357422320, retrieved 2026-11-20 · 1795129200.0
  9. HtmlRuleSanitizer . GitHub . 13 August 2021. · 1780354800.0
  10. strip_tags . PHP.NET . · 1780354800.0
  11. HTML Purifier - Filter your HTML the standards-compliant way! . htmlpurifier.org . · 1780354800.0
  12. OWASP Java HTML Sanitizer . · 1780354800.0
  13. HTML Agility Pack - Home . · 1780354800.0
  14. Whitelist santize with HtmlAgilityPack . 14 June 2011. · 1780354800.0
  15. Ganss, Michael. HtmlSanitizer . 5 December 2023. retrieved 7 December 2023 · 1780354800.0
  16. JS HTML Sanitizer . GitHub . 14 October 2021. · 1780354800.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"HTML sanitization". 1780405662. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1357422320

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·