diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 3c72f8a6..9e1a9128 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -403,7 +403,7 @@ function package_details($id=0) { print ""; print ""; print "\n"; - print str_replace('"',""", stripslashes($carr["Comments"])); + print str_replace('"',""", htmlspecialchars(strip_tags(stripslashes($carr["Comments"])))); print "\n"; print "\n"; print "\n";