Multiple cross-site scripting (XSS) flaws were reported in phpPgAdmin: 1) the 'title' argument of a particular web page was not sanitized properly prior displaying the page header, 2) the return ULR ('returnurl') and return link name ('returndesc') were not sanitized properly prior displaying the requested page data.
A remote attacker could provide a specially-crafted URL, which once visited by an unsuspecting phpPgAdmin user could lead to arbitrary HTML or web script execution.
References: [1] https://secunia.com/advisories/46248/ [2] https://bugs.gentoo.org/showbug.cgi?id=385505 [3] http://phppgadmin.sourceforge.net/doku.php?id=download [4] http://sourceforge.net/mailarchive/forum.php?threadname=4E897F6C.90905%40free.fr&forumname=phppgadmin-news
Upstream patch: [5] https://github.com/phppgadmin/phppgadmin/commit/1df248203de055f97e092b50b1dd9643ccb73842