Multiple cross-site scripting (XSS) vulnerabilities in Apache Jackrabbit before 1.5.2 allow remote attackers to inject arbitrary web script or HTML via the q parameter to (1) search.jsp or (2) swr.jsp.
https://exchange.xforce.ibmcloud.com/vulnerabilities/48110
http://www.vupen.com/english/advisories/2009/0177
http://www.securityfocus.com/archive/1/500196/100/0/threaded
http://www.apache.org/dist/jackrabbit/RELEASE-NOTES-1.5.2.txt