Projects / kses

kses

kses is an HTML/XHTML security filter that removes all unwanted HTML elements and attributes, no matter how malformed the HTML input you give it. It also does several checks on attribute values. It can be used to avoid cross-site scripting (XSS), buffer overflows, and denial of service attacks. It is used by popular programs such as WordPress and Geeklog.

Tags Software Development Libraries Security Internet Web Dynamic Content
Licenses GPL
Operating Systems OS Independent
Implementation PHP

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  06 Feb 2005 23:53
  • Rrelease-after

Changes: This release added a second object-oriented kses version for PHP 5, uses isset() to avoid PHP notice warnings, changed chr(173) handling to help Asian users, and improved the handling of closing HTML elements.

  • Rrelease-mid
  •  29 Sep 2003 09:13
  • Rrelease-after

Changes: This release adds a new object-oriented version of kses, three new attribute value checks (minlen, minval, and valueless), a work-around for an Opera "feature" that treats chr(173) as whitespace, and some other minor changes.

  • Rrelease-mid
  •  25 Jul 2003 06:19
  • Rrelease-after

Changes: This release adds attribute value checks (maxlen and maxval), whitelisting of allowed URL protocols, XHTML, removal of Netscape 4's Javascript entities, and various bugfixes.

No changes have been submitted for this release.

No-screenshot

Project Spotlight

Bot Lane

An online interface to various site checking tools.

244a23a9c143e1bd7ce26ab0e2bcfe4d_thumb

Project Spotlight

pmcyg

A tool for creating customized Cygwin installers.