PHPIDS before 20070703 does not properly handle setting the .text property of a SCRIPT element before its attachment to the DOM, which allows remote attackers to inject arbitrary web script.
https://exchange.xforce.ibmcloud.com/vulnerabilities/35520
http://sla.ckers.org/forum/read.php?2%2C13209%2C13218
http://groups.google.com/group/php-ids/browse_thread/thread/3ec15f69d6b3dba0