|
|||||||||||
|
[ANNOUNCE] kses 0.2.0
From: Ulf Harnhammar <ulfh(at)update.uu.se>
Date: Sat Jul 26 2003 - 06:17:06 EDT
The program is released under the terms of the GNU General Public License. You should look into what that means, before using kses in your programs.
! It will accept XHTML's closing " /" marks. [new in 0.2.0]
! It supports checking attribute values for maximum length and maximum value, to protect against Buffer Overflows and Denial of Service attacks against WWW clients and various servers. You can stop <iframe src= width= height=> from having too high values for width and height, for instance. [new in 0.2.0] ! It has got a system for white listing URL protocols. You can say that attribute values may only start with http:, https:, ftp: and gopher:, but no other URL protocols (javascript:, java:, about:, telnet:..). The functions that do this work handle whitespace, upper/lower case, HTML entities ("javascript:") and repeated entries ("javascript:javascript:alert(57)"). It also normalizes HTML entities as a nice side effect. [new in 0.2.0] ! It removes Netscape 4's JavaScript entities ("&{alert(57)};"). [new in 0.2.0] ! It handles NULL bytes. [new in 0.2.0]
Security audits, bug reports and patches are highly appreciated, so don't hesitate to get in touch. // Ulf Harnhammar, London/Stockholm, July 2003 metaur at users dot sourceforge dot net Received on Sat Jul 26 09:27:40 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:54 EDT |
||||||||||
|
|||||||||||